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