Updated settings.py
authorMadhusudan.C.S <madhusudancs@gmail.com>
Wed, 02 Sep 2009 10:38:24 -0400
changeset 4 ac11fee16880
parent 3 eb11f0116216
child 5 962b45987a02
Updated settings.py
settings.py
upload/forms.py
urls.py
--- a/settings.py	Wed Sep 02 19:43:43 2009 +0530
+++ b/settings.py	Wed Sep 02 10:38:24 2009 -0400
@@ -4,15 +4,18 @@
 TEMPLATE_DEBUG = DEBUG
 
 ADMINS = (
-    # ('Your Name', 'your_email@domain.com'),
+    ('Shantanu Choudary', 'choudhary.shantanu@gmail.com'),
+    ('Puneeth Chaganti', 'punchagan@gmail.'),
+    ('Santosh Vattam', 'vattam.santosh@gmail.com'),
+    ('Madhusudan.C.S', 'madhusudancs@gmail.com'),
 )
 
 MANAGERS = ADMINS
 
-DATABASE_ENGINE = 'sqlite3'           # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
-DATABASE_NAME = 'user_record'             # Or path to database file if using sqlite3.
-DATABASE_USER = ''             # Not used with sqlite3.
-DATABASE_PASSWORD = ''         # Not used with sqlite3.
+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_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.
 
@@ -21,7 +24,7 @@
 # although not all choices may be available on all operating systems.
 # If running in a Windows environment this must be set to the same as your
 # system time zone.
-TIME_ZONE = 'America/Chicago'
+TIME_ZONE = 'Asia/Kolkata'
 
 # Language code for this installation. All choices can be found here:
 # http://www.i18nguy.com/unicode/language-identifiers.html
@@ -66,7 +69,7 @@
 ROOT_URLCONF = 'spoken_tut.urls'
 
 TEMPLATE_DIRS = (
-	"template",
+       '/home/hg/repos/spoken_tut/template',
     # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
     # Always use forward slashes, even on Windows.
     # Don't forget to use absolute paths, not relative paths.
--- a/upload/forms.py	Wed Sep 02 19:43:43 2009 +0530
+++ b/upload/forms.py	Wed Sep 02 10:38:24 2009 -0400
@@ -1,6 +1,6 @@
 from django import forms
 
-from upload.models import Participant
+from spoken_tut.upload.models import Participant
 
 class ParticipantForm(forms.ModelForm):
 	class Meta:
--- a/urls.py	Wed Sep 02 19:43:43 2009 +0530
+++ b/urls.py	Wed Sep 02 10:38:24 2009 -0400
@@ -14,7 +14,7 @@
 
     # Uncomment the next line to enable the admin:
     # (r'^admin/(.*)', admin.site.root),
-	(r'^$','upload.views.upload_file'),
+	(r'^$','spoken_tut.upload.views.upload_file'),
 	(r'^download/$','spoken_tut.upload.views.file_archive'),
 	(r'^(?P<path>.*)$', 'django.views.static.serve', {'document_root': 'template/'}),
 )