From ea5aa5a1f59e87bd0ab7ca1b90e3132a1c9d8c81 Mon Sep 17 00:00:00 2001 From: Benni Baermann Date: Mon, 4 Jan 2021 10:58:47 +0100 Subject: [PATCH] bugfix: Literature needed to be registered in admin.py --- input/admin.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/input/admin.py b/input/admin.py index 0e32935..82da6f7 100644 --- a/input/admin.py +++ b/input/admin.py @@ -4,7 +4,7 @@ from django.contrib import admin from django.http import HttpResponse from .models import Project, HonoraryCertificate, Library, IFG, Travel,\ - Email, BusinessCard, List + Email, BusinessCard, List, Literature def export_as_csv(self, request, queryset): @@ -41,5 +41,6 @@ admin.site.register([ Travel, Email, BusinessCard, - List + List, + Literature, ])