X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/67df302167539474edd02b57c2e8bd30349d7625..c661073dd0969caa9a47a225f3d3fae767295c3d:/apps/suggest/admin.py?ds=sidebyside diff --git a/apps/suggest/admin.py b/apps/suggest/admin.py index d1ce07b73..b5fcb5cf2 100644 --- a/apps/suggest/admin.py +++ b/apps/suggest/admin.py @@ -4,9 +4,15 @@ # from django.contrib import admin -from suggest.models import Suggestion +from suggest.models import Suggestion, PublishingSuggestion class SuggestionAdmin(admin.ModelAdmin): list_display = ('created_at', 'contact', 'user', 'description') admin.site.register(Suggestion, SuggestionAdmin) + + +class PublishingSuggestionAdmin(admin.ModelAdmin): + list_display = ('created_at', 'contact', 'user', 'books', 'audiobooks') + +admin.site.register(PublishingSuggestion, PublishingSuggestionAdmin)