1
0
Fork 0

whitelisted admin url for oauth

This commit is contained in:
alpcentaur 2023-10-25 13:45:17 +00:00
parent 4b7423cd76
commit d0fb14bf17
1 changed files with 2 additions and 1 deletions

View File

@ -1,10 +1,11 @@
from django.urls import path from django.urls import path
from .views import ExternView, done, authorize, deny, InternView, export from .views import ExternView, done, authorize, deny, InternView, export
from django.contrib import admin
urlpatterns = [ urlpatterns = [
path('', ExternView.as_view(), name='extern'), path('', ExternView.as_view(), name='extern'),
# path('intern', InternView.as_view(), name='intern'), # path('intern', InternView.as_view(), name='intern'),
path('admin/', admin.site.urls),
path('saved', done, name='done'), path('saved', done, name='done'),
path('export', export, name='export'), path('export', export, name='export'),
path('authorize/<str:choice>/<int:pk>', authorize, name='authorize'), path('authorize/<str:choice>/<int:pk>', authorize, name='authorize'),