]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blobdiff - sommitrealweird/blog/admin.py
Checky little photo import script
[sommitrealweird.git] / sommitrealweird / blog / admin.py
index 8b3dcf9cb2044c5e19643297b9715133b8fa20e2..88ebb87c49068864b51e0cab203db3830b40625e 100644 (file)
@@ -2,12 +2,12 @@ from models import BlogEntry, BlogSection
 from django.contrib import admin
 
 class BlogEntryAdmin(admin.ModelAdmin):
-    prepulated_fields = { "slug": ("title") }
+    prepopulated_fields = { "slug": ("title",) }
 
-#admin.site.register(BlogEntry, BlogEntryAdmin)
+admin.site.register(BlogEntry, BlogEntryAdmin)
 
 class BlogSectionAdmin(admin.ModelAdmin):
-    prepopulated_fields = { "slug": ("title")
+    prepopulated_fields = { "slug": ("title",) }
 
-#admin.site.register(BlogSection, BlogSectionAdmin)
+admin.site.register(BlogSection, BlogSectionAdmin)