from django.contrib import admin

from .models import Post


@admin.register(Post)
class PostAdmin(admin.ModelAdmin):
    list_display = ('title', 'pub_date')

@@ -111,16 +111,48 @@
 Admin):%0A
+    date_hierarchy = 'pub_date'%0A
     list

Define PostAdmin date_hierarchy.