Commit 687ea315 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Merge branch 'allow-token-auth' into 'master'

Allow the REST framework to use token authentication

See merge request !402
parents 7b3207ce 7083653c
......@@ -163,6 +163,12 @@ AUTHENTICATION_BACKENDS = [
'activemembers.backends.CommitteeBackend',
]
REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': (
'rest_framework.authentication.TokenAuthentication',
)
}
# Internationalization
# https://docs.djangoproject.com/en/dev/topics/i18n/
......
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