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.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/apps/forum/admin.py b/apps/forum/admin.py
new file mode 100644
index 0000000..9fddd4e
--- /dev/null
+++ b/apps/forum/admin.py
@@ -0,0 +1,18 @@
+from django.contrib import admin
+
+from .models import Topic, Category, Post
+
+
+@admin.register(Topic)
+class TopicAdmin(admin.ModelAdmin):
+ pass
+
+
+@admin.register(Category)
+class CategoryAdmin(admin.ModelAdmin):
+ pass
+
+
+@admin.register(Post)
+class PostAdmin(admin.ModelAdmin):
+ pass