admin.py 179 Bytes
Newer Older
Joost Rijneveld's avatar
Joost Rijneveld committed
1
2
3
4
5
6
7
8
9
from django.contrib import admin

from .models import Thabloid


class ThabloidAdmin(admin.ModelAdmin):
    list_filter = ('year', )

admin.site.register(Thabloid, ThabloidAdmin)