X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/10dc1a5e84d23582a58ead2551ddf54a66b94496..45b3f39b2548169718f640227d3c09064cdfa9cb:/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())),