X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/blobdiff_plain/c9c77db037a1fbb61629825276825d80aab64edd..refs/heads/django-4.2:/sommitrealweird/blog/admin.py?ds=sidebyside diff --git a/sommitrealweird/blog/admin.py b/sommitrealweird/blog/admin.py index 5c92951..daeaa50 100644 --- a/sommitrealweird/blog/admin.py +++ b/sommitrealweird/blog/admin.py @@ -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)