Commit 192e4b5f authored by alexandre's avatar alexandre

test putting back csrf

parent 2b2d3696
...@@ -141,7 +141,8 @@ AUTHENTICATION_BACKENDS = ( ...@@ -141,7 +141,8 @@ AUTHENTICATION_BACKENDS = (
REST_FRAMEWORK = { REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': ( 'DEFAULT_AUTHENTICATION_CLASSES': (
# 'rest_framework.authentication.TokenAuthentication', # 'rest_framework.authentication.TokenAuthentication',
'playground.authentication.CsrfExemptSessionAuthentication', # 'playground.authentication.CsrfExemptSessionAuthentication',
'rest_framework.authentication.SessionAuthentication',
'rest_framework.authentication.BasicAuthentication', 'rest_framework.authentication.BasicAuthentication',
) )
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment