]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blobdiff - sommitrealweird/blog/admin.py
fix: quick and dirty update to django 4.2
[sommitrealweird.git] / sommitrealweird / blog / admin.py
index 5c9295163439d4aaa87b8eaa0e22843ad3ce1c6a..daeaa504b54ae57fb9812ccf464bf1b8877bff9d 100644 (file)
@@ -1,8 +1,8 @@
-from models import BlogEntry, BlogSection
+from blog.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)