Commit 7083653c authored by Wietse Kuipers's avatar Wietse Kuipers
Browse files

Allow the REST framework to use token authentication

parent 8678e0f2
......@@ -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