mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-11 12:29:24 +00:00
Add UserBan management views
This commit is contained in:
@ -25,6 +25,9 @@
|
||||
from django.urls import path
|
||||
|
||||
from rootplace.views import (
|
||||
BanCreateView,
|
||||
BanDeleteView,
|
||||
BanView,
|
||||
DeleteAllForumUserMessagesView,
|
||||
MergeUsersView,
|
||||
OperationLogListView,
|
||||
@ -38,4 +41,7 @@ urlpatterns = [
|
||||
name="delete_forum_messages",
|
||||
),
|
||||
path("logs/", OperationLogListView.as_view(), name="operation_logs"),
|
||||
path("ban/", BanView.as_view(), name="ban_list"),
|
||||
path("ban/new", BanCreateView.as_view(), name="ban_create"),
|
||||
path("ban/<int:ban_id>/remove/", BanDeleteView.as_view(), name="ban_remove"),
|
||||
]
|
||||
|
Reference in New Issue
Block a user