Database name changes and import json change.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Tue, 13 Jul 2010 16:41:57 +0530
changeset 105 15c9e537187d
parent 104 06b7e950a798
child 106 7ebd3a7e8ccf
Database name changes and import json change.
project/kiwipycon/proceedings/views.py
project/production.py
--- a/project/kiwipycon/proceedings/views.py	Tue Jul 13 16:32:29 2010 +0530
+++ b/project/kiwipycon/proceedings/views.py	Tue Jul 13 16:41:57 2010 +0530
@@ -1,5 +1,5 @@
 # -*- coding: utf-8 -*-
-import json
+import simplejson as json
 
 from django.contrib.auth import login
 from django.contrib.auth.decorators import login_required
@@ -110,4 +110,4 @@
         'suggestions':[user.username for user in suggestions],
         }
 
-    return HttpResponse(json.dumps(suggest_data))
\ No newline at end of file
+    return HttpResponse(json.dumps(suggest_data))
--- a/project/production.py	Tue Jul 13 16:32:29 2010 +0530
+++ b/project/production.py	Tue Jul 13 16:41:57 2010 +0530
@@ -30,6 +30,6 @@
 
 DATABASE_ENGINE = 'mysql'
 DATABASE_NAME = 'conference2009'
-DATABASE_USER = 'root'
+DATABASE_USER = 'scipy'
 # Imports DATABASE_PASSWORD from project/local.py that is not part of mercurial repo
 from project.local import DATABASE_PASSWORD