summaryrefslogtreecommitdiffstats
path: root/todolists/admin.py
blob: 181febb1b1e2e171784286c303d87ed49d4a683a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from django.contrib import admin

from .models import Todolist


class TodolistAdmin(admin.ModelAdmin):
    list_display = ('name', 'creator', 'created', 'description')
    search_fields = ('name', 'description')
    date_hierarchy = 'created'


admin.site.register(Todolist, TodolistAdmin)

# vim: set ts=4 sw=4 et: