Commit 2532f723 authored by Thom Wiggers's avatar Thom Wiggers 📐
Browse files

Merge branch 'fix/rest-framework-auth' into 'master'

Enable session and basic authentication for rest framework

See merge request !412
parents e253efce 6e2ebb1b
......@@ -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