<reponame>SimonGreenhill/Language5<gh_stars>1-10
from django.contrib import admin
from website.apps.statistics.models import StatisticalValue

class StatisticalValueAdmin(admin.ModelAdmin):
    date_hierarchy = 'date'
    list_display = ('date', 'label', 'model', 'value')
    list_filter = ('label', 'model',)
    ordering = ('date',)

admin.site.register(StatisticalValue, StatisticalValueAdmin)

from django.contrib import admin
from website.apps.statistics.models import StatisticalValue

class StatisticalValueAdmin(admin.ModelAdmin):
    date_hierarchy = 'date'
    list_display = ('date', 'label', 'model', 'value')
    list_filter = ('label', 'model',)
    ordering = ('date',)

admin.site.register(StatisticalValue, StatisticalValueAdmin)