aboutsummaryrefslogtreecommitdiff
path: root/apps/forum/admin.py
blob: 1dfe734a75700113a55559a18796bf433d088de8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
from django.contrib import admin

from .models import Topic, Category, Post
from .forms import CategoryForm


@admin.register(Topic)
class TopicAdmin(admin.ModelAdmin):
    pass


@admin.register(Category)
class CategoryAdmin(admin.ModelAdmin):
    form = CategoryForm
    pass


@admin.register(Post)
class PostAdmin(admin.ModelAdmin):
    pass