X-Git-Url: https://git.mdrn.pl/audio.git/blobdiff_plain/c7d2e4daae13c7c1100ec0d42ace0e8c34b5ae24..778bdfb196e004691368624d3f5af04b4cdad640:/src/apiclient/urls.py?ds=sidebyside diff --git a/src/apiclient/urls.py b/src/apiclient/urls.py index 09d4712..58dec53 100755 --- a/src/apiclient/urls.py +++ b/src/apiclient/urls.py @@ -1,8 +1,10 @@ -from django.conf.urls import url +from django.urls import path from . import views urlpatterns = [ - url(r'^oauth/$', views.oauth, name='apiclient_oauth'), - url(r'^oauth_callback/$', views.oauth_callback, name='apiclient_oauth_callback'), + path('oauth/', views.oauth, name='apiclient_oauth'), + path('auth_callback/', views.oauth_callback, name='apiclient_oauth_callback'), + path('oauth2/', views.oauth2, name='apiclient_oauth2'), + path('oauth2_redirect/', views.oauth2_redirect, name='apiclient_oauth2_redirect'), ]