summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2024-03-06 16:03:11 -0600
committerluxagraf <sng@luxagraf.net>2024-03-06 16:03:11 -0600
commit9b496f3612c0dd8161bf2b20abb7901e86330e70 (patch)
tree992cd0aa94e9b30140a54217c24c8f1a7a48308d /app
parente8b218274167346b942927ee146d096d48dfebf3 (diff)
posts: added topic to admin list display
Diffstat (limited to 'app')
-rw-r--r--app/posts/admin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/posts/admin.py b/app/posts/admin.py
index 1153e81..c0081af 100644
--- a/app/posts/admin.py
+++ b/app/posts/admin.py
@@ -34,7 +34,7 @@ class PostAdmin(OSMGeoAdmin):
field = super(PostAdmin, self).formfield_for_dbfield(db_field, **kwargs)
return field
- list_display = ('title', 'site', 'post_type', 'pub_date', 'status',)
+ list_display = ('title', 'site', 'post_type', 'post_topic', 'pub_date', 'status',)
search_fields = ['title', 'body_markdown']
prepopulated_fields = {"slug": ('title',)}
list_filter = ('site', 'post_type', 'pub_date', 'enable_comments', 'status')