From 26fb841e4e5909da3f2db6b695456e09623eb95c Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Thu, 29 Nov 2012 14:27:33 +0100 Subject: [PATCH 1/1] add localsettings --- .gitignore | 3 +++ project_name/localsettings.py.default | 10 ++++++++++ 2 files changed, 13 insertions(+) create mode 100644 project_name/localsettings.py.default diff --git a/.gitignore b/.gitignore index 08a3e5e..554bc70 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,9 @@ dev.sqlite .coverage pip-log.txt nosetests.xml +/build +/dist +*.egg-info # Mac OS X garbage .DS_Store diff --git a/project_name/localsettings.py.default b/project_name/localsettings.py.default new file mode 100644 index 0000000..5eb05b6 --- /dev/null +++ b/project_name/localsettings.py.default @@ -0,0 +1,10 @@ +DEBUG = True +ADMINS = MANAGERS = [ + ('Admin', 'admin@example.com'), +] +EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' + +if False: + INSTALLED_APPS += ('debug_toolbar',) + MIDDLEWARE_CLASSES += ('debug_toolbar.middleware.DebugToolbarMiddleware',) + INTERNAL_IPS = ('127.0.0.1',) -- 2.20.1