|
|
@@ -31,6 +31,7 @@ INSTALLED_APPS = [ |
|
|
|
'django.contrib.staticfiles', |
|
|
|
'rest_framework', |
|
|
|
'corsheaders', |
|
|
|
'djoser', |
|
|
|
'api' |
|
|
|
] |
|
|
|
|
|
|
@@ -124,7 +125,7 @@ JWT_AUTH = { |
|
|
|
'JWT_ALLOW_REFRESH': True, |
|
|
|
} |
|
|
|
|
|
|
|
EMAIL_BACKEND = 'django.api.mail.backends.console.EmailBackend' |
|
|
|
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' |
|
|
|
|
|
|
|
REST_FRAMEWORK = { |
|
|
|
'DEFAULT_PERMISSION_CLASSES': ( |
|
|
@@ -169,3 +170,8 @@ if 'test' in sys.argv[1:] or 'jenkins' in sys.argv[1:]: |
|
|
|
TEMPLATE_DEBUG = False |
|
|
|
TESTS_IN_PROGRESS = True |
|
|
|
MIGRATION_MODULES = DisableMigrations() |
|
|
|
|
|
|
|
DJOSER = { |
|
|
|
'PASSWORD_RESET_CONFIRM_URL': '#/password/reset/confirm/{uid}/{token}', |
|
|
|
'ACTIVATION_URL': '#/activate/{uid}/{token}' |
|
|
|
} |