Browse Source

bugfix: Literature needed to be registered in admin.py

master
Benni Baermann 3 years ago
parent
commit
ea5aa5a1f5
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      input/admin.py

+ 3
- 2
input/admin.py 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,
]) ])

Loading…
Cancel
Save