Reports are created by users. Bans are created by moderators, in response to reports. Report reasons and ban templates are created by admins, which give a template for reports sent and bans issued. Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
23 lines
386 B
Python
23 lines
386 B
Python
from django.contrib import admin
|
|
from board.models import Board, Post, ReportReason, Report
|
|
|
|
|
|
@admin.register(Board)
|
|
class BoardAdmin(admin.ModelAdmin):
|
|
pass
|
|
|
|
|
|
@admin.register(Post)
|
|
class PostAdmin(admin.ModelAdmin):
|
|
pass
|
|
|
|
|
|
@admin.register(ReportReason)
|
|
class ReportReasonAdmin(admin.ModelAdmin):
|
|
pass
|
|
|
|
|
|
@admin.register(Report)
|
|
class ReportAdmin(admin.ModelAdmin):
|
|
pass
|