X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/10dc1a5e84d23582a58ead2551ddf54a66b94496..733a35d165f8fa095c3dfcbb74ac7aae3c320a2e:/src/api/urls.py diff --git a/src/api/urls.py b/src/api/urls.py index a3e877d6c..cb890da3d 100644 --- a/src/api/urls.py +++ b/src/api/urls.py @@ -11,7 +11,7 @@ from . import views urlpatterns = [ - url(r'^oauth/request_token/$', views.OAuth1RequestTokenView.as_view()), + url(r'^oauth/request_token/$', csrf_exempt(views.OAuth1RequestTokenView.as_view())), url(r'^oauth/authorize/$', views.oauth_user_auth, name='oauth_user_auth'), url(r'^oauth/access_token/$', csrf_exempt(views.OAuth1AccessTokenView.as_view())),