X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/1b718c10066557540770bb0960a773dce0ad4462..08cc1e1601586efffcb2d82f6b1f39a4ed78fd5d:/apps/apiclient/urls.py diff --git a/apps/apiclient/urls.py b/apps/apiclient/urls.py index 87d9997d..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', +urlpatterns = patterns( + 'apiclient.views', url(r'^oauth/$', 'oauth', name='apiclient_oauth'), url(r'^oauth_callback/$', 'oauth_callback', name='apiclient_oauth_callback'), )