fixes
authorRadek Czajka <rczajka@rczajka.pl>
Fri, 1 Mar 2019 13:09:45 +0000 (14:09 +0100)
committerRadek Czajka <rczajka@rczajka.pl>
Fri, 1 Mar 2019 13:09:45 +0000 (14:09 +0100)
requirements/requirements.txt
src/api/urls.py

index fc6f6fb..6cffb85 100644 (file)
@@ -38,7 +38,7 @@ mutagen>=1.31
 sorl-thumbnail>=12.3,<12.4
 
 # home-brewed & dependencies
 sorl-thumbnail>=12.3,<12.4
 
 # home-brewed & dependencies
-librarian==1.7
+librarian==1.7.1
 
 # celery tasks
 celery>=3.1.12,<3.2
 
 # celery tasks
 celery>=3.1.12,<3.2
index a3e877d..cb890da 100644 (file)
@@ -11,7 +11,7 @@ from . import views
 
 
 urlpatterns = [
 
 
 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())),
 
     url(r'^oauth/authorize/$', views.oauth_user_auth, name='oauth_user_auth'),
     url(r'^oauth/access_token/$', csrf_exempt(views.OAuth1AccessTokenView.as_view())),