Move local settings specific stuff out of settings.py to local.py.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Fri, 14 Jan 2011 02:10:53 +0530
changeset 391 f917e7f05499
parent 390 a745a95d12f2
child 392 2f7d91759bcf
Move local settings specific stuff out of settings.py to local.py. Due to security reasons local.py is not tracked by revision control system.
pytask/settings.py
--- a/pytask/settings.py	Fri Jan 14 02:10:03 2011 +0530
+++ b/pytask/settings.py	Fri Jan 14 02:10:53 2011 +0530
@@ -1,25 +1,13 @@
 # Django settings for pytask project.
 
-DEBUG = True
-TEMPLATE_DEBUG = DEBUG
+from pytask.local import *
 
 ADMINS = (
-    # ('Your Name', 'your_email@domain.com'),
+    ('Madhusudan C.S.', 'madhusudancs@fossee.in'),
 )
 
 MANAGERS = ADMINS
 
-DATABASES = {
-    'default': {
-        'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
-        'NAME': './pytask/db.db',                      # Or path to database file if using sqlite3.
-        'USER': '',                      # Not used with sqlite3.
-        'PASSWORD': '',                  # Not used with sqlite3.
-        'HOST': '',                      # Set to empty string for localhost. Not used with sqlite3.
-        'PORT': '',                      # Set to empty string for default. Not used with sqlite3.
-    }
-}
-
 # Local time zone for this installation. Choices can be found here:
 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
 # although not all choices may be available on all operating systems.