Quellcode durchsuchen

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

David Ray vor 8 Jahren
Ursprung
Commit
0c68d4320d
1 geänderte Dateien mit 13 neuen und 0 gelöschten Zeilen
  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