diff options
author | luxagraf <sng@luxagraf.net> | 2024-03-06 16:03:11 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2024-03-06 16:03:11 -0600 |
commit | 9b496f3612c0dd8161bf2b20abb7901e86330e70 (patch) | |
tree | 992cd0aa94e9b30140a54217c24c8f1a7a48308d /app/posts | |
parent | e8b218274167346b942927ee146d096d48dfebf3 (diff) |
posts: added topic to admin list display
Diffstat (limited to 'app/posts')
-rw-r--r-- | app/posts/admin.py | 2 |
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') |