X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/fdd62169ba22c4c1be2f2306b5339eadd74ffb6d..1ca6d764bb26082e103bfa81e586de5ee43eef02:/apps/apiclient/urls.py?ds=inline diff --git a/apps/apiclient/urls.py b/apps/apiclient/urls.py index 5e54965e..4a323075 100755 --- a/apps/apiclient/urls.py +++ b/apps/apiclient/urls.py @@ -1,6 +1,8 @@ -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'), +urlpatterns = patterns( + 'apiclient.views', + url(r'^oauth/$', 'oauth', name='apiclient_oauth'), + url(r'^oauth_callback/$', 'oauth_callback', name='apiclient_oauth_callback'), )