X-Git-Url: https://git.mdrn.pl/audio.git/blobdiff_plain/f2ed1449ece59c6247b8befc9ca6f423f7e4b004..17813a3d7d0c5d291da414b89f3a5c1a936ada64:/src/apiclient/urls.py diff --git a/src/apiclient/urls.py b/src/apiclient/urls.py index 8e93697..58dec53 100755 --- a/src/apiclient/urls.py +++ b/src/apiclient/urls.py @@ -1,9 +1,10 @@ -# -*- coding: utf-8 -*- -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'), ]