Updated settings.py with DB info.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Wed, 02 Sep 2009 10:57:07 -0400
changeset 6 eb8e00312877
parent 5 962b45987a02
child 8 b6b90b65881f
Updated settings.py with DB info.
apache/django.wsgi
settings.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/apache/django.wsgi	Wed Sep 02 10:57:07 2009 -0400
@@ -0,0 +1,10 @@
+import os
+import sys
+
+sys.path.append('/home/hg/repos/')
+
+os.environ['DJANGO_SETTINGS_MODULE'] = 'spoken_tut.settings'
+
+import django.core.handlers.wsgi
+application = django.core.handlers.wsgi.WSGIHandler()
+
--- a/settings.py	Wed Sep 02 20:17:47 2009 +0530
+++ b/settings.py	Wed Sep 02 10:57:07 2009 -0400
@@ -1,5 +1,7 @@
 # Django settings for spoken_tut project.
 
+import os
+
 DEBUG = True
 TEMPLATE_DEBUG = DEBUG
 
@@ -14,7 +16,7 @@
 
 DATABASE_ENGINE = 'mysql'           # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
 DATABASE_NAME = 'uploads'             # Or path to database file if using sqlite3.
-DATABASE_USER = 'nme_ict'             # Not used with sqlite3.
+DATABASE_USER = 'spoken'             # Not used with sqlite3.
 DATABASE_PASSWORD = 'NotMeICT'         # Not used with sqlite3.
 DATABASE_HOST = ''             # Set to empty string for localhost. Not used with sqlite3.
 DATABASE_PORT = ''             # Set to empty string for default. Not used with sqlite3.