39ccfe3147
adds a "is present" toggle to the user menu Refactor user menu into own component Add a config variable to determine if the user is allowed to set themselve as present
24 lines
743 B
Python
24 lines
743 B
Python
from django.conf.urls import url
|
|
|
|
from . import views
|
|
|
|
|
|
urlpatterns = [
|
|
# Auth
|
|
url(r"^login/$", views.UserLoginView.as_view(), name="user_login"),
|
|
url(r"^logout/$", views.UserLogoutView.as_view(), name="user_logout"),
|
|
url(r"^whoami/$", views.WhoAmIView.as_view(), name="user_whoami"),
|
|
url(r"^setpassword/$", views.SetPasswordView.as_view(), name="user_setpassword"),
|
|
url(r"^setpresence/$", views.SetPresenceView.as_view(), name="user_setpresence"),
|
|
url(
|
|
r"^reset-password/$",
|
|
views.PasswordResetView.as_view(),
|
|
name="user_reset_password",
|
|
),
|
|
url(
|
|
r"^reset-password-confirm/$",
|
|
views.PasswordResetConfirmView.as_view(),
|
|
name="password_reset_confirm",
|
|
),
|
|
]
|