Source

django-syncr / syncr / delicious / admin.py

Full commit
1
2
3
4
5
6
7
8
9
from django.contrib import admin
from syncr.delicious.models import Bookmark

class BookmarkAdmin(admin.ModelAdmin):
	list_display = ('saved_date', 'description', 'extended_info')
	search_fields = ['description', 'extended_info']
	date_hierarchy = 'saved_date'

admin.site.register(Bookmark, BookmarkAdmin)