X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/56145861cf5fa01c5fbb429d40242e0a16189ed1..54612c196135c939a7d17d51b81b1357f6eac9c3:/src/apiclient/urls.py?ds=sidebyside

diff --git a/src/apiclient/urls.py b/src/apiclient/urls.py
old mode 100755
new mode 100644
index 68cd1618..53178636
--- a/src/apiclient/urls.py
+++ b/src/apiclient/urls.py
@@ -1,11 +1,14 @@
-# -*- coding: utf-8 -*-
-from django.conf.urls import url
+# This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
+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'),
-    url(r'^oauth-beta/$', views.oauth, kwargs={'beta': True}, name='apiclient_beta_oauth'),
-    url(r'^oauth_callback-beta/$', views.oauth_callback, kwargs={'beta': True}, name='apiclient_beta_callback'),
+    path('oauth/', views.oauth, name='apiclient_oauth'),
+    path('oauth_callback/', views.oauth_callback, name='apiclient_oauth_callback'),
+    path('oauth-beta/', views.oauth, kwargs={'beta': True}, name='apiclient_beta_oauth'),
+    path('oauth_callback-beta/', views.oauth_callback, kwargs={'beta': True}, name='apiclient_beta_callback'),
+    path('disconnect', views.disconnect, name='apiclient_disconnect'),
 ]