Adding a test form to test email server configuration (#235)
* Remove duplicate I18N settings removal of LANGUAGE_CODE, TIME_ZONE, USE_I18N AND USE_TZ duplicates in settings.py * Fix incorrect variable in mail backends (typo error) ssl_certfile was incorrectly named as ssl_keyfile * Adding a test email form on the Mail Server page This add a form to send a test mail to test mail server configuration. If any exception is caught during the send_mail it will be shown as a notification. For the moment, any error error in the mail configuration is hard to debug without this. * Resolve bug regarding wrong form input assignation to var
This commit is contained in:
committed by
GitHub
parent
43449c3c15
commit
ce084cbd36
@@ -155,18 +155,6 @@ AUTH_PASSWORD_VALIDATORS = [
|
||||
]
|
||||
|
||||
|
||||
# Internationalization
|
||||
# https://docs.djangoproject.com/en/4.1/topics/i18n/
|
||||
|
||||
LANGUAGE_CODE = "en-us"
|
||||
|
||||
TIME_ZONE = "Asia/Kolkata"
|
||||
|
||||
USE_I18N = True
|
||||
|
||||
USE_TZ = True
|
||||
|
||||
|
||||
# Static files (CSS, JavaScript, Images)
|
||||
# https://docs.djangoproject.com/en/4.1/howto/static-files/
|
||||
|
||||
@@ -228,6 +216,12 @@ LOCALE_PATHS = [
|
||||
join(BASE_DIR, "horilla", "locale"),
|
||||
]
|
||||
|
||||
|
||||
# Internationalization
|
||||
# https://docs.djangoproject.com/en/4.1/topics/i18n/
|
||||
|
||||
LANGUAGE_CODE = "en-us"
|
||||
|
||||
TIME_ZONE = "Asia/Kolkata"
|
||||
|
||||
USE_I18N = True
|
||||
|
||||
Reference in New Issue
Block a user