From 768497c92cb75290c032f4ffd586eccab6fd3eec Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Fri, 1 Mar 2019 14:09:45 +0100 Subject: [PATCH] fixes --- requirements/requirements.txt | 2 +- src/api/urls.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements/requirements.txt b/requirements/requirements.txt index fc6f6fb5e..6cffb853d 100644 --- a/requirements/requirements.txt +++ b/requirements/requirements.txt @@ -38,7 +38,7 @@ mutagen>=1.31 sorl-thumbnail>=12.3,<12.4 # home-brewed & dependencies -librarian==1.7 +librarian==1.7.1 # celery tasks celery>=3.1.12,<3.2 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())), -- 2.20.1