Added azure auth. Lots of changes in settings.py
This commit is contained in:
@@ -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"),),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user