Minimal qr reader implementation
This commit is contained in:
parent
1868dedad6
commit
a8a2dd3f60
3 changed files with 51 additions and 2 deletions
|
|
@ -220,8 +220,8 @@ MEDIA_URL = '/media/'
|
|||
# Use mailer in production to place emails in a queue before sending them to avoid spam
|
||||
EMAIL_BACKEND = 'mailer.backend.DbBackend'
|
||||
MAILER_EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
|
||||
EMAIL_USE_SSL = os.getenv('EMAIL_USE_SSL', False)
|
||||
EMAIL_USE_TLS = os.getenv('EMAIL_USE_TLS', True)
|
||||
EMAIL_USE_SSL = (os.getenv('EMAIL_USE_SSL', "False")=="True")
|
||||
EMAIL_USE_TLS = (os.getenv('EMAIL_USE_TLS', "True")=="True")
|
||||
EMAIL_HOST = os.getenv('EMAIL_HOST', 'smtp.example.org')
|
||||
EMAIL_PORT = os.getenv('EMAIL_PORT', 587)
|
||||
EMAIL_HOST_USER = os.getenv('EMAIL_USER', None)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue