Logo
Explore Help
Sign In
intercal/interchan
1
0
Fork 0
You've already forked interchan
Code Issues Pull Requests Releases Wiki Activity
Files
0fd40d5d3d3b3ee4935183754075725d5118bb54
interchan/board/admin.py

23 lines
386 B
Python
Raw Normal View History

Initial commit Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-03 18:02:04 -07:00
from django.contrib import admin
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:35:47 -07:00
from board.models import Board, Post, ReportReason, Report
Initial commit Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-03 18:02:04 -07:00
Add board and post view to admin Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-07 16:58:16 -07:00
@admin.register(Board)
class BoardAdmin(admin.ModelAdmin):
pass
@admin.register(Post)
class PostAdmin(admin.ModelAdmin):
pass
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:35:47 -07:00
@admin.register(ReportReason)
class ReportReasonAdmin(admin.ModelAdmin):
pass
@admin.register(Report)
class ReportAdmin(admin.ModelAdmin):
pass
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 55ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API