X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/f423a5130b54cd17f1f8990e7ab242496d3e3657..d19e216035b14d8f60b24dda0c0670e6997f16ce:/contrib/penfield/admin.py diff --git a/contrib/penfield/admin.py b/contrib/penfield/admin.py deleted file mode 100644 index c34199b..0000000 --- a/contrib/penfield/admin.py +++ /dev/null @@ -1,11 +0,0 @@ -from models import BlogEntry, Blog -from django.contrib import admin -from philo.admin import EntityAdmin - -class TitledContentAdmin(EntityAdmin): - prepopulated_fields = {'slug': ('title',)} - list_display = ('title', 'slug') - - -admin.site.register(BlogEntry, TitledContentAdmin) -admin.site.register(Blog) \ No newline at end of file