diff options
author | Dan McGee <dpmcgee@gmail.com> | 2013-02-04 23:32:46 -0600 |
---|---|---|
committer | Dan McGee <dpmcgee@gmail.com> | 2013-02-04 23:32:46 -0600 |
commit | 266f8e2a43563f002f349c8049374b3c2128f945 (patch) | |
tree | 39acac8d89ad6e03b6d0bbc1715cfc927188b727 | |
parent | a636098778177cbb99915ecc3602dc8032dfa5eb (diff) | |
download | website-266f8e2a43563f002f349c8049374b3c2128f945.tar.gz website-266f8e2a43563f002f349c8049374b3c2128f945.zip |
-rw-r--r-- | blog/admin.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/blog/admin.py b/blog/admin.py index 4a99cfc..185a41a 100644 --- a/blog/admin.py +++ b/blog/admin.py @@ -25,6 +25,7 @@ class PostAdmin(admin.ModelAdmin): list_display = ('title', 'pub_date', 'mod_date', 'public', 'comments_enabled') list_filter = ('pub_date', 'public', 'comments_enabled') + date_hierarchy = 'pub_date' def disable_comments(self, request, queryset): for obj in queryset: |