diff options
Diffstat (limited to 'app/src/admin.py')
-rw-r--r-- | app/src/admin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/admin.py b/app/src/admin.py index 815267c..f354b15 100644 --- a/app/src/admin.py +++ b/app/src/admin.py @@ -1,5 +1,5 @@ from django.contrib import admin -from .models import Topic, Post, Book +from .models import Topic, SrcPost, Book from utils.widgets import LGEntryForm @@ -33,7 +33,7 @@ class BookAdmin(admin.ModelAdmin): ) -@admin.register(Post) +@admin.register(SrcPost) class PostAdmin(admin.ModelAdmin): form = LGEntryForm list_display = ('title', 'pub_date', 'enable_comments', 'status') |