tests: drf default authentication class
This commit is contained in:
parent
2cae1d52c5
commit
f90bf991a3
|
@ -3,6 +3,11 @@ import os
|
|||
TIME_ZONE = 'Europe/Paris'
|
||||
LANGUAGE_CODE = 'en-us'
|
||||
|
||||
REST_FRAMEWORK = {
|
||||
'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework.authentication.BasicAuthentication'],
|
||||
'EXCEPTION_HANDLER': 'lingo.api.utils.exception_handler',
|
||||
}
|
||||
|
||||
CACHES = {
|
||||
'default': {
|
||||
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
|
||||
|
|
Loading…
Reference in New Issue