PageRenderTime 171ms CodeModel.GetById 140ms app.highlight 1ms RepoModel.GetById 30ms app.codeStats 0ms

/django_history_tables/admin.py

https://code.google.com/p/django-history-tables/
Python | 5 lines | 4 code | 1 blank | 0 comment | 0 complexity | d27300cdeb8d6a1e91aa8349cf920c13 MD5 | raw file
1from django.contrib import admin
2
3class HistoryAdmin(admin.ModelAdmin):
4    date_hierarchy = "history_datetime"
5    list_display = ('__unicode__', 'history_revision', 'history_datetime', 'history_objectid', 'history_comment')