Skip to content

Commit

Permalink
Add date_hierarchy to RaceAdmin.
Browse files Browse the repository at this point in the history
  • Loading branch information
SRJ9 committed Nov 9, 2017
1 parent 76975df commit 1052dda
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions driver27/admin/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ class RaceAdmin(admin.ModelAdmin):
'print_positions')

readonly_fields = ('print_positions',)
date_hierarchy = 'date'
form = RaceAdminForm

def get_urls(self):
Expand Down

0 comments on commit 1052dda

Please sign in to comment.