Skip to content

Commit 0db149d

Browse files
committed
disable emaily/celery for now
1 parent 980b1c5 commit 0db149d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

eatsmart/settings/deploy.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
default_smtp_port = 25
4949
EMAIL_PORT = os.environ.get('EMAIL_PORT', default_smtp_port)
5050
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
5252
SERVER_EMAIL = DEFAULT_FROM_EMAIL
5353

5454
# CSRF_COOKIE_SECURE = True
@@ -77,7 +77,7 @@
7777

7878
# Uncomment if using celery worker configuration
7979
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
8181

8282
# Environment overrides
8383
# These should be kept to an absolute minimum

manage.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
from eatsmart import load_env
66

7-
load_env.load_env()
8-
97
if __name__ == "__main__":
8+
load_env.load_env()
9+
1010
# Default to the safest settings
1111
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "eatsmart.settings.deploy")
1212
print(os.environ['DJANGO_SETTINGS_MODULE'])

requirements/base.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
psycopg2==2.6.1
22
Pillow==3.0.0
33
Django==1.8.6
4-
django-dotenv==1.3.0
4+
django-dotenv==1.4.1
55
celery==3.1.19
66
-e git://github.com/vkurup/django_compressor.git@develop#egg=django_compressor
77
# Required by django-compressor

0 commit comments

Comments
 (0)