mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
django2.2: replace deprecated login view
This commit is contained in:
@ -37,7 +37,7 @@ urlpatterns = [
|
||||
re_path(r"^search_json/$", search_json, name="search_json"),
|
||||
re_path(r"^search_user/$", search_user_json, name="search_user"),
|
||||
# Login and co
|
||||
re_path(r"^login/$", login, name="login"),
|
||||
re_path(r"^login/$", SithLoginView.as_view(), name="login"),
|
||||
re_path(r"^logout/$", logout, name="logout"),
|
||||
re_path(r"^password_change/$", password_change, name="password_change"),
|
||||
re_path(
|
||||
|
Reference in New Issue
Block a user