Added azure auth. Lots of changes in settings.py

This commit is contained in:
John Mullins
2023-08-30 15:05:57 +10:00
parent 8005621594
commit 3568613607
+3
View File
@@ -14,6 +14,7 @@ Including another URLconf
1. Import the include() function: from django.urls import include, path
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
from azure_auth.views import azure_auth_logout
from django.contrib import admin
from django.urls import path, include
@@ -21,5 +22,7 @@ admin.site.site_header = "Bus Portal Admin"
urlpatterns = [
path('report/', include("coord.urls")),
path('admin/logout/', azure_auth_logout),
path('admin/', admin.site.urls),
path('auth/', include("azure_auth.urls"),),
]