From: Radek Czajka Date: Thu, 29 Nov 2012 13:27:33 +0000 (+0100) Subject: add localsettings X-Git-Url: https://git.mdrn.pl/fnp-django-template.git/commitdiff_plain/26fb841e4e5909da3f2db6b695456e09623eb95c?ds=sidebyside add localsettings --- 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',)