]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blobdiff - sommitrealweird/blog/admin.py
Fix blog and re-enable admin
[sommitrealweird.git] / sommitrealweird / blog / admin.py
index 8b3dcf9cb2044c5e19643297b9715133b8fa20e2..5c9295163439d4aaa87b8eaa0e22843ad3ce1c6a 100644 (file)
@@ -2,12 +2,12 @@ from models import BlogEntry, BlogSection
 from django.contrib import admin
 
 class BlogEntryAdmin(admin.ModelAdmin):
-    prepulated_fields = { "slug": ("title") }
+    prepulated_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)