Skip to content

Commit

Permalink
Prepare for production
Browse files Browse the repository at this point in the history
- Added MAILS_TO_SEND to ProductionConfig
- Added MAILS_TO_SEND to production_settings
  • Loading branch information
anxolerd committed Nov 30, 2015
1 parent 07c9cbc commit bb94c9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ class ProductionConfig(Config):
MAIL_USERNAME = getattr(production_settings, "MAIL_USERNAME", None)
MAIL_PASSWORD = getattr(production_settings, "MAIL_PASSWORD", None)
MAIL_DEFAULT_SENDER = production_settings.MAIL_DEFAULT_SENDER
MAILS_TO_SEND = production_settings.MAILS_TO_SEND


class DevelopmentConfig(Config):
Expand Down
1 change: 1 addition & 0 deletions production_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@
MAIL_PORT = "25"
MAIL_USE_SSL = False
MAIL_DEFAULT_SENDER = "hrportal@hrportal.uaprom"
MAILS_TO_SEND = ['hrportal@yandex.ru']

0 comments on commit bb94c9b

Please sign in to comment.