X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/fdd62169ba22c4c1be2f2306b5339eadd74ffb6d..8132fc186eb0c5fd02c86828c3a4735754296d02:/apps/apiclient/urls.py 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'), )