on essaye de faire marcher l'email sur le serveur
This commit is contained in:
parent
eeef839c4f
commit
d3cd660fc1
@ -5,6 +5,7 @@ from django_better_admin_arrayfield.admin.mixins import DynamicArrayMixin
|
||||
from django_better_admin_arrayfield.forms.widgets import DynamicArrayWidget
|
||||
from django_better_admin_arrayfield.models.fields import DynamicArrayField
|
||||
|
||||
|
||||
admin.site.register(EventSubmissionForm)
|
||||
admin.site.register(Category)
|
||||
admin.site.register(StaticContent)
|
||||
|
@ -177,3 +177,13 @@ CELERY_RESULT_BACKEND = REDIS_URL
|
||||
COMPRESS_PRECOMPILERS = (
|
||||
('text/x-scss', 'django_libsass.SassCompiler'),
|
||||
)
|
||||
|
||||
|
||||
# EMAIL settings
|
||||
|
||||
if os_getenv("EMAIL_BACKEND"):
|
||||
EMAIL_BACKEND = os_getenv("EMAIL_BACKEND")
|
||||
EMAIL_HOST = os_getenv("EMAIL_HOST")
|
||||
EMAIL_PORT = os_getenv("EMAIL_PORT")
|
||||
EMAIL_HOST_USER = os_getenv("EMAIL_HOST_USER")
|
||||
EMAIL_HOST_PASSWORD = os_getenv("EMAIL_HOST_PASSWORD")
|
||||
|
Loading…
Reference in New Issue
Block a user