Verified Commit 6e2ebb1b authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Enable session and basic authentication for rest framework

parent e253efce
......@@ -165,6 +165,8 @@ AUTHENTICATION_BACKENDS = [
REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': (
'rest_framework.authentication.SessionAuthentication',
'rest_framework.authentication.BasicAuthentication',
'rest_framework.authentication.TokenAuthentication',
)
}
......
Supports Markdown
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