X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/eee26362c631db7fd31cc210694dedd6f8f2961b..4fb23ed3c3396d23a37a718fc857ecc8b36b0c7f:/src/api/urls.py diff --git a/src/api/urls.py b/src/api/urls.py index 1f05e2d51..703283ef7 100644 --- a/src/api/urls.py +++ b/src/api/urls.py @@ -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'),