X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/fdd62169ba22c4c1be2f2306b5339eadd74ffb6d..1e373b12f008865c90a75cc56202d8adde06e2b7:/apps/apiclient/urls.py?ds=inline diff --git a/apps/apiclient/urls.py b/apps/apiclient/urls.py index 5e54965e..f623474e 100755 --- a/apps/apiclient/urls.py +++ b/apps/apiclient/urls.py @@ -1,6 +1,9 @@ -from django.conf.urls.defaults import * +# -*- coding: utf-8 -*- +from django.conf.urls import patterns, url urlpatterns = patterns('apiclient.views', - url(r'^oauth/$', 'oauth', name='users_oauth'), - url(r'^oauth_callback/$', 'oauth_callback', name='users_oauth_callback'), + url(r'^oauth/$', 'oauth', name='apiclient_oauth'), + url(r'^oauth_callback/$', 'oauth_callback', name='apiclient_oauth_callback'), + url(r'^oauth-beta/$', 'oauth', kwargs={'beta': True}, name='apiclient_beta_oauth'), + url(r'^oauth_callback-beta/$', 'oauth_callback', kwargs={'beta': True}, name='apiclient_beta_callback'), )