Add reports, report reasons, bans, and ban templates
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>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from django.contrib import admin
|
||||
from board.models import Board, Post
|
||||
from board.models import Board, Post, ReportReason, Report
|
||||
|
||||
|
||||
@admin.register(Board)
|
||||
@@ -10,3 +10,13 @@ class BoardAdmin(admin.ModelAdmin):
|
||||
@admin.register(Post)
|
||||
class PostAdmin(admin.ModelAdmin):
|
||||
pass
|
||||
|
||||
|
||||
@admin.register(ReportReason)
|
||||
class ReportReasonAdmin(admin.ModelAdmin):
|
||||
pass
|
||||
|
||||
|
||||
@admin.register(Report)
|
||||
class ReportAdmin(admin.ModelAdmin):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user