diff --git a/tests/settings.py b/tests/settings.py index ea1cce9..1c45c63 100644 --- a/tests/settings.py +++ b/tests/settings.py @@ -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',