mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-29 07:53:23 +00:00
chore: Initial Commit
feat: Gestion des inscriptions [#1] feat(frontend): Création des vues pour le paramétrage de l'école [#2] feat: Gestion du login [#6] fix: Correction lors de la migration des modèle [#8] feat: Révision du menu principal [#9] feat: Ajout d'un footer [#10] feat: Création des dockers compose pour les environnements de développement et de production [#12] doc(ci): Mise en place de Husky et d'un suivi de version automatique [#14]
This commit is contained in:
22
Back-End/GestionLogin/urls.py
Normal file
22
Back-End/GestionLogin/urls.py
Normal file
@ -0,0 +1,22 @@
|
||||
from django.urls import path, re_path
|
||||
|
||||
from . import views
|
||||
import GestionLogin.views
|
||||
from GestionLogin.views import ProfilView, ListProfilView, SessionView, LoginView, SubscribeView, NewPasswordView, ResetPasswordView
|
||||
|
||||
urlpatterns = [
|
||||
re_path(r'^csrf$', GestionLogin.views.csrf, name='csrf'),
|
||||
|
||||
re_path(r'^login$', LoginView.as_view(), name="login"),
|
||||
re_path(r'^subscribe$', SubscribeView.as_view(), name='subscribe'),
|
||||
re_path(r'^newPassword$', NewPasswordView.as_view(), name='newPassword'),
|
||||
re_path(r'^resetPassword/([a-zA-Z]+)$', ResetPasswordView.as_view(), name='resetPassword'),
|
||||
re_path(r'^infoSession$', GestionLogin.views.infoSession, name='infoSession'),
|
||||
|
||||
re_path(r'^profils$', ListProfilView.as_view(), name="profil"),
|
||||
re_path(r'^profil$', ProfilView.as_view(), name="profil"),
|
||||
re_path(r'^profil/([0-9]+)$', ProfilView.as_view(), name="profil"),
|
||||
|
||||
# Test SESSION VIEW
|
||||
re_path(r'^session$', SessionView.as_view(), name="session"),
|
||||
]
|
||||
Reference in New Issue
Block a user