Show More
@@ -10,7 +10,8 b' class PostAdmin(admin.ModelAdmin):' | |||||
10 | list_filter = ('pub_time',) |
|
10 | list_filter = ('pub_time',) | |
11 | search_fields = ('id', 'title', 'text', 'poster_ip') |
|
11 | search_fields = ('id', 'title', 'text', 'poster_ip') | |
12 | exclude = ('referenced_posts', 'refmap') |
|
12 | exclude = ('referenced_posts', 'refmap') | |
13 |
readonly_fields = ('poster_ip', 'threads', 'thread', 'images', |
|
13 | readonly_fields = ('poster_ip', 'threads', 'thread', 'images', | |
|
14 | 'attachments', 'uid', 'url', 'pub_time', 'opening') | |||
14 |
|
15 | |||
15 | def ban_poster(self, request, queryset): |
|
16 | def ban_poster(self, request, queryset): | |
16 | bans = 0 |
|
17 | bans = 0 |
General Comments 0
You need to be logged in to leave comments.
Login now