瀏覽代碼

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

David Ray 8 年之前
父節點
當前提交
0c68d4320d
共有 1 個文件被更改,包括 13 次插入0 次删除
  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