Show More
@@ -7,7 +7,7 b' from django.utils.translation import uge' | |||||
7 | class PostAdmin(admin.ModelAdmin): |
|
7 | class PostAdmin(admin.ModelAdmin): | |
8 |
|
8 | |||
9 | list_display = ('id', 'title', 'text') |
|
9 | list_display = ('id', 'title', 'text') | |
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', 'thread_new') |
|
13 | readonly_fields = ('poster_ip', 'thread_new') |
General Comments 0
You need to be logged in to leave comments.
Login now