Browse Source

readding as this is used in settings/__init__.py for local dev and Vagrant

David Ray 8 năm trước cách đây
mục cha
commit
0c68d4320d
1 tập tin đã thay đổi với 13 bổ sung0 xóa
  1. 13 0
      bakerydemo/settings/dev.py

+ 13 - 0
bakerydemo/settings/dev.py

@@ -0,0 +1,13 @@
+from .base import *
+
+DEBUG = True
+
+EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
+
+# BASE_URL required for notification emails
+BASE_URL = 'http://localhost:8000'
+
+try:
+    from .local import *
+except ImportError:
+    pass