Browse Source

whitelisted admin url for oauth

master
alpcentaur 1 year ago
parent
commit
d0fb14bf17
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      input/urls.py

+ 2
- 1
input/urls.py 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'),

Loading…
Cancel
Save