summaryrefslogtreecommitdiff
path: root/scipy2012/settings.py
diff options
context:
space:
mode:
authorhardythe12013-11-13 13:23:06 +0530
committerhardythe12013-11-13 13:23:06 +0530
commit300b752fb20bdf42f24422e7c2291f256e827dec (patch)
tree925fb6d12e18448ac60e61ba7fb253afa8603939 /scipy2012/settings.py
parent9013d7c0c0a4509224ae7c3ae2bda054ee59aa13 (diff)
downloadSciPy2012-300b752fb20bdf42f24422e7c2291f256e827dec.tar.gz
SciPy2012-300b752fb20bdf42f24422e7c2291f256e827dec.tar.bz2
SciPy2012-300b752fb20bdf42f24422e7c2291f256e827dec.zip
changes to make the static files work
Diffstat (limited to 'scipy2012/settings.py')
-rwxr-xr-xscipy2012/settings.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/scipy2012/settings.py b/scipy2012/settings.py
index 478ada0..8fe709b 100755
--- a/scipy2012/settings.py
+++ b/scipy2012/settings.py
@@ -1,5 +1,6 @@
# Django settings for scipy2012 project.
from os.path import *
+from local import *
DEBUG = True
TEMPLATE_DEBUG = DEBUG
@@ -14,11 +15,11 @@ MANAGERS = ADMINS
DATABASES = {
'default': {
- 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
- 'NAME': 'scipy2012.db', # Or path to database file if using sqlite3.
+ 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
+ 'NAME': 'scipy2012', # Or path to database file if using sqlite3.
# The following settings are not used with sqlite3:
- 'USER': '',
- 'PASSWORD': '',
+ 'USER': 'root',
+ 'PASSWORD': DB_PASS,
'HOST': '', # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP.
'PORT': '', # Set to empty string for default.
}
@@ -68,7 +69,7 @@ STATIC_ROOT = ''
# URL prefix for static files.
# Example: "http://example.com/static/", "http://static.example.com/"
-STATIC_URL = '/static/'
+STATIC_URL = '/2012/static/'
# Additional locations of static files
STATICFILES_DIRS = (