bugfix: Literature needed to be registered in admin.py
This commit is contained in:
parent
bd8aced23f
commit
ea5aa5a1f5
1 changed files with 3 additions and 2 deletions
|
@ -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,
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in a new issue