bugfix: Literature needed to be registered in admin.py

This commit is contained in:
Benni Bärmann 2021-01-04 10:58:47 +01:00
parent bd8aced23f
commit ea5aa5a1f5
1 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,7 @@ from django.contrib import admin
from django.http import HttpResponse from django.http import HttpResponse
from .models import Project, HonoraryCertificate, Library, IFG, Travel,\ from .models import Project, HonoraryCertificate, Library, IFG, Travel,\
Email, BusinessCard, List Email, BusinessCard, List, Literature
def export_as_csv(self, request, queryset): def export_as_csv(self, request, queryset):
@ -41,5 +41,6 @@ admin.site.register([
Travel, Travel,
Email, Email,
BusinessCard, BusinessCard,
List List,
Literature,
]) ])