X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/8952b9530d943655e552ea660c47e850123c5105..ca8f4e8fef80cb603117ed579da8554f503698e5:/src/api/urls.py?ds=sidebyside diff --git a/src/api/urls.py b/src/api/urls.py index 4fb321a32..703283ef7 100644 --- a/src/api/urls.py +++ b/src/api/urls.py @@ -1,5 +1,5 @@ -# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. -# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Wolne Lektury. See NOTICE for more information. # from django.urls import path, include from django.views.decorators.csrf import csrf_exempt @@ -13,6 +13,7 @@ urlpatterns = [ path('oauth/request_token/', csrf_exempt(views.OAuth1RequestTokenView.as_view())), path('oauth/authorize/', views.oauth_user_auth, name='oauth_user_auth'), path('oauth/access_token/', csrf_exempt(views.OAuth1AccessTokenView.as_view())), + path('login/', csrf_exempt(views.LoginView.as_view())), path('', TemplateView.as_view(template_name='api/main.html'), name='api'), @@ -34,7 +35,6 @@ urlpatterns = [ path('blog', piwik_track_view(views.BlogView.as_view())), - path('pictures/', include('picture.api.urls')), path('', include('social.api.urls')), path('', include('catalogue.api.urls')), ]