Files
interchan/board/admin.py
Alek Ratzloff 2940affae3 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>
2022-05-07 17:39:40 -07:00

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