소스 검색

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