aboutsummaryrefslogtreecommitdiff
path: root/apps/forum/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'apps/forum/admin.py')
-rw-r--r--apps/forum/admin.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/forum/admin.py b/apps/forum/admin.py
index 9fddd4e..1dfe734 100644
--- a/apps/forum/admin.py
+++ b/apps/forum/admin.py
@@ -1,6 +1,7 @@
from django.contrib import admin
from .models import Topic, Category, Post
+from .forms import CategoryForm
@admin.register(Topic)
@@ -10,6 +11,7 @@ class TopicAdmin(admin.ModelAdmin):
@admin.register(Category)
class CategoryAdmin(admin.ModelAdmin):
+ form = CategoryForm
pass