settings_local_sample.py
changeset 560 b7c7da996d7a
parent 559 4e20287ff415
child 561 6da1a12084a9
--- a/settings_local_sample.py	Mon Nov 04 15:11:11 2013 +0100
+++ b/settings_local_sample.py	Tue Nov 05 14:41:38 2013 +0100
@@ -6,14 +6,14 @@
 YUI_DISTANT = False
 
 DATABASES = {
-  'default': {
-    'ENGINE': 'postgresql_psycopg2', # YOUR_SETTINGS # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
-    'NAME': 'db_name',               # YOUR_SETTINGS # Or path to database file if using sqlite3.
-    'USER': 'db_user',               # YOUR_SETTINGS # Not used with sqlite3.
-    'PASSWORD': 'db_pw',             # YOUR_SETTINGS # Not used with sqlite3.
-    'HOST': '',                      # YOUR_SETTINGS # Set to empty string for localhost. Not used with sqlite3.
-    'PORT': '',                      # YOUR_SETTINGS # Set to empty string for default. Not used with sqlite3.
-   }
+	'default': {
+		'ENGINE':	'django.db.backend.<engine>',	# YOUR_SETTINGS # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
+		'NAME':		'<db_name>',	# YOUR_SETTINGS # Or path to database file if using sqlite3.
+		'USER':		'<db_user>',	# YOUR_SETTINGS # Not used with sqlite3.
+		'PASSWORD':	'<db_pw>',		# YOUR_SETTINGS # Not used with sqlite3.
+		'HOST':		'<localhost>',	# YOUR_SETTINGS # Set to empty string for localhost. Not used with sqlite3.
+		'PORT':		'<5433>',		# YOUR_SETTINGS # Set to empty string for default. Not used with sqlite3.
+	}
 }
 
 SITE_URL = "http://127.0.0.1:8000" # YOUR_SETTINGS
@@ -38,15 +38,15 @@
 MEDIA_URL = '/site_media/'
 
 INSTALLED_APPS = (
-    'django.contrib.auth',
-    'django.contrib.contenttypes',
-    'django.contrib.sessions',
-    'django.contrib.sites',
-    'django.contrib.admin',
-    'cm',
-#    'django_extensions',
-    'tagging',
-    'south',
+	'django.contrib.auth',
+	'django.contrib.contenttypes',
+	'django.contrib.sessions',
+	'django.contrib.sites',
+	'django.contrib.admin',
+	'cm',
+#	 'django_extensions',
+	'tagging',
+	'south',
 )
 
 CM_MEDIA_PREFIX = '/cmmedia/'
@@ -54,7 +54,7 @@
 ADMIN_MEDIA_PREFIX = '/media/'
 
 ADMINS = (
-    ('Comt admin', CONTACT_DEST),
+	('Comt admin', CONTACT_DEST),
 )
 
 MANAGERS = ADMINS