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