Change auth backends authentication on common settings.

remotes/origin/enhancement/email-actions
Andrey Antukh 2014-04-16 13:39:08 +02:00 committed by Jesús Espino
parent 842d02ed12
commit 2ebdfca253
1 changed files with 2 additions and 2 deletions

View File

@ -266,10 +266,10 @@ API_LIMIT_PER_PAGE = 0
REST_FRAMEWORK = { REST_FRAMEWORK = {
"DEFAULT_AUTHENTICATION_CLASSES": ( "DEFAULT_AUTHENTICATION_CLASSES": (
# Mainly used by taiga-front # Mainly used by taiga-front
"taiga.base.auth.Token", "taiga.auth.backends.Token",
# Mainly used for api debug. # Mainly used for api debug.
"taiga.base.auth.Session", "taiga.auth.backends.Session",
), ),
"FILTER_BACKEND": "taiga.base.filters.FilterBackend", "FILTER_BACKEND": "taiga.base.filters.FilterBackend",
"EXCEPTION_HANDLER": "taiga.base.exceptions.exception_handler", "EXCEPTION_HANDLER": "taiga.base.exceptions.exception_handler",