gremmie@1: """This file contains the automatic admin site definitions for the core Models""" gremmie@1: gremmie@1: from django.contrib import admin gremmie@1: from core.models import DebugLog gremmie@1: bgneal@2: class DebugLogAdmin(admin.ModelAdmin): bgneal@2: list_display = ('__unicode__', 'level') bgneal@2: ordering = ('-timestamp', ) bgneal@2: date_hierarchy = 'timestamp' gremmie@1: bgneal@2: admin.site.register(DebugLog, DebugLogAdmin) gremmie@1: bgneal@2: # vim: ts=4 sw=4