Show More
@@ -6,9 +6,9 b' from django.utils.translation import uge' | |||
|
6 | 6 | @admin.register(Post) |
|
7 | 7 | class PostAdmin(admin.ModelAdmin): |
|
8 | 8 | |
|
9 | list_display = ('id', 'title', 'text') | |
|
9 | list_display = ('id', 'title', 'text', 'poster_ip') | |
|
10 | 10 | list_filter = ('pub_time',) |
|
11 | search_fields = ('id', 'title', 'text') | |
|
11 | search_fields = ('id', 'title', 'text', 'poster_ip') | |
|
12 | 12 | exclude = ('referenced_posts', 'refmap') |
|
13 | 13 | readonly_fields = ('poster_ip', 'threads', 'thread', 'images', 'uid') |
|
14 | 14 |
General Comments 0
You need to be logged in to leave comments.
Login now