translation update
[wolnelektury.git] / src / suggest / admin.py
1 # -*- coding: utf-8 -*-
2 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
3 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
4 #
5 from django.contrib import admin
6
7 from suggest.models import Suggestion, PublishingSuggestion
8
9
10 class SuggestionAdmin(admin.ModelAdmin):
11     list_display = ('created_at', 'contact', 'user', 'description')
12
13 admin.site.register(Suggestion, SuggestionAdmin)
14
15
16 class PublishingSuggestionAdmin(admin.ModelAdmin):
17     list_display = ('created_at', 'contact', 'user', 'books', 'audiobooks')
18
19 admin.site.register(PublishingSuggestion, PublishingSuggestionAdmin)