File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 48
48
default_smtp_port = 25
49
49
EMAIL_PORT = os .environ .get ('EMAIL_PORT' , default_smtp_port )
50
50
EMAIL_SUBJECT_PREFIX = '[Eatsmart %s] ' % ENVIRONMENT .title ()
51
- DEFAULT_FROM_EMAIL = 'noreply@%(DOMAIN)s' % os .environ
51
+ # DEFAULT_FROM_EMAIL = 'noreply@%(DOMAIN)s' % os.environ
52
52
SERVER_EMAIL = DEFAULT_FROM_EMAIL
53
53
54
54
# CSRF_COOKIE_SECURE = True
77
77
78
78
# Uncomment if using celery worker configuration
79
79
CELERY_SEND_TASK_ERROR_EMAILS = True
80
- BROKER_URL = 'amqp://%(RABBITMQ_DEFAULT_USER)s:%(RABBITMQ_DEFAULT_PASS)s@%(RABBITMQ_DEFAULT_HOST)s/' % os .environ # noqa
80
+ # BROKER_URL = 'amqp://%(RABBITMQ_DEFAULT_USER)s:%(RABBITMQ_DEFAULT_PASS)s@%(RABBITMQ_DEFAULT_HOST)s/' % os.environ # noqa
81
81
82
82
# Environment overrides
83
83
# These should be kept to an absolute minimum
Original file line number Diff line number Diff line change 4
4
5
5
from eatsmart import load_env
6
6
7
- load_env .load_env ()
8
-
9
7
if __name__ == "__main__" :
8
+ load_env .load_env ()
9
+
10
10
# Default to the safest settings
11
11
os .environ .setdefault ("DJANGO_SETTINGS_MODULE" , "eatsmart.settings.deploy" )
12
12
print (os .environ ['DJANGO_SETTINGS_MODULE' ])
Original file line number Diff line number Diff line change 1
1
psycopg2==2.6.1
2
2
Pillow==3.0.0
3
3
Django==1.8.6
4
- django-dotenv==1.3.0
4
+ django-dotenv==1.4.1
5
5
celery==3.1.19
6
6
-e git://github.com/vkurup/django_compressor.git@develop#egg=django_compressor
7
7
# Required by django-compressor
You can’t perform that action at this time.
0 commit comments