public
Description: A personal journal application written in Django. You need this.
Homepage: http://trey.github.com/chiplog
Clone URL: git://github.com/trey/chiplog.git
Click here to lend your support to: chiplog and make a donation at www.pledgie.com !
chiplog / admin.py
100644 11 lines (8 sloc) 0.296 kb
1
2
3
4
5
6
7
8
9
10
11
from django.contrib import admin
from models import Entry
 
class EntryAdmin(admin.ModelAdmin):
    list_display = ('body', 'created', 'tags',)
    list_filter = ('created', 'updated', 'tags',)
    search_fields = ('body',)
    date_hierarchy = 'created'
 
admin.site.register(Entry, EntryAdmin)