Splits user view out and adds template

This commit is contained in:
Mouse Reeve
2021-06-14 09:57:51 -07:00
parent fd753d47ce
commit 7ae64c2a68
12 changed files with 233 additions and 157 deletions

View File

@ -253,6 +253,7 @@ urlpatterns = [
views.ChangePassword.as_view(),
name="prefs-password",
),
re_path(r"^preferences/delete/?$", views.DeleteAccount.as_view(), name="prefs-delete"),
re_path(r"^preferences/block/?$", views.Block.as_view(), name="prefs-block"),
re_path(r"^block/(?P<user_id>\d+)/?$", views.Block.as_view()),
re_path(r"^unblock/(?P<user_id>\d+)/?$", views.unblock),