-from models import Entry, Blog
+from models import BlogEntry, Blog
from django.contrib import admin
from philo.admin import EntityAdmin
-admin.site.register(Entry, 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