1 # This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
4 from django.contrib import admin
6 from suggest.models import Suggestion, PublishingSuggestion
9 class SuggestionAdmin(admin.ModelAdmin):
10 list_display = ('created_at', 'contact', 'user', 'description')
12 admin.site.register(Suggestion, SuggestionAdmin)
15 class PublishingSuggestionAdmin(admin.ModelAdmin):
16 list_display = ('created_at', 'contact', 'user', 'books', 'audiobooks')
18 admin.site.register(PublishingSuggestion, PublishingSuggestionAdmin)