X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d712899291a689f0d4087ce5f36ef9011b03e5ef..6c071c6cbb739209e9d8488ff7080f8ad7c7d2d0:/apps/suggest/admin.py 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)