Ajout du contexte processor
This commit is contained in:
28
SIRH/urls.py
28
SIRH/urls.py
@@ -18,7 +18,7 @@ from django.contrib import admin
|
||||
from django.urls import include, path
|
||||
# from django.conf.urls.static import static
|
||||
from django.conf import settings
|
||||
|
||||
from . import views
|
||||
from .sso import SIRHClient
|
||||
|
||||
client_sirh = SIRHClient(
|
||||
@@ -28,35 +28,23 @@ client_sirh = SIRHClient(
|
||||
)
|
||||
|
||||
urlpatterns = [
|
||||
# path('login/',
|
||||
# views.login_view,
|
||||
# name='login'
|
||||
# ),
|
||||
# path(
|
||||
# 'deconnexion/',
|
||||
# views.deconnexion_view,
|
||||
# name='deconnexion'
|
||||
# ),
|
||||
path(
|
||||
'',
|
||||
<<<<<<< HEAD
|
||||
views.login_view,
|
||||
name='index'
|
||||
),
|
||||
|
||||
path('login/',
|
||||
views.login_view,
|
||||
views.connexion,
|
||||
name='login'
|
||||
),
|
||||
path(
|
||||
'deconnexion/',
|
||||
views.deconnexion_view,
|
||||
views.deconnexion,
|
||||
name='deconnexion'
|
||||
),
|
||||
path(
|
||||
<<<<<<< HEAD
|
||||
'gestion-employe/',
|
||||
=======
|
||||
>>>>>>> 4934b42 (Implementation de sso)
|
||||
=======
|
||||
'',
|
||||
>>>>>>> 55e5a28 (Ajout du contexte processor)
|
||||
include("gestion_employe.urls")
|
||||
),
|
||||
path(
|
||||
@@ -77,4 +65,4 @@ urlpatterns = [
|
||||
),
|
||||
path("client/", include(client_sirh.get_urls())),
|
||||
]
|
||||
# + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||
# + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||
|
||||
Reference in New Issue
Block a user