Fix os.environ call
This commit is contained in:
parent
47572bb212
commit
ba436f8186
|
|
@ -350,6 +350,6 @@ GRAPHQL_MUTATIONS_DIR = os.path.join(GRAPHQL_QUERIES_DIR, 'mutations')
|
|||
|
||||
EMAIL_BACKEND = 'sendgrid_backend.SendgridBackend'
|
||||
|
||||
SENDGRID_API_KEY = os.environ["SENDGRID_API_KEY"]
|
||||
SENDGRID_API_KEY = os.environ.get("SENDGRID_API_KEY")
|
||||
SENDGRID_SANDBOX_MODE_IN_DEBUG = False
|
||||
DEFAULT_FROM_EMAIL='noreply@myskillbox.ch'
|
||||
|
|
|
|||
Loading…
Reference in New Issue