diff options
author | luxagraf <sng@luxagraf.net> | 2019-01-13 11:42:01 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2019-01-13 11:42:01 -0600 |
commit | 5b9343d77d8321e44d1ffc60769c651771dc38dd (patch) | |
tree | 8bbce1b415fbf2fd4c4ee1a7913ca41d362216ec /apps/forum/admin.py | |
parent | 261f9df4911f861a71e11eb3f0bfbe1a5a5d12b9 (diff) |
Refactored Javascript, started on forums
Diffstat (limited to 'apps/forum/admin.py')
-rw-r--r-- | apps/forum/admin.py | 2 |
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 |