X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/4137a52f96ca5eaf32eb4e6e0a33918876408bdd..d19e216035b14d8f60b24dda0c0670e6997f16ce:/contrib/penfield/admin.py?ds=inline 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