Skip to content

Commit

Permalink
fix email configuration in production
Browse files Browse the repository at this point in the history
  • Loading branch information
lilioid committed Dec 10, 2020
1 parent e52d1f9 commit 192c450
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion imagetagger/imagetagger/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,4 +232,8 @@ class Dev(Base):


class Prod(Base):
pass
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = values.Value(environ_prefix='IT', environ_required=True)
EMAIL_PORT = values.Value(environ_prefix='IT')
EMAIL_HOST_USER = values.Value(environ_prefix='IT')
EMAIL_HOST_PASSWORD = values.Value(environ_prefix='IT')

0 comments on commit 192c450

Please sign in to comment.