aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/settings.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@animus.robocracy.org>2007-03-07 02:00:30 -0800
committerBryan Newbold <bnewbold@animus.robocracy.org>2007-03-07 02:00:30 -0800
commita715e7988aa7e7f5136b7e98dad7d0f8fb389954 (patch)
treef3ee7a09b07a7a91a741e8c84d304cc7a0f91a4e /bn_django/settings.py
parenta62acac56d61c592b0625a88f0a6977d33c0f1dc (diff)
downloadbnewnet-a715e7988aa7e7f5136b7e98dad7d0f8fb389954.tar.gz
bnewnet-a715e7988aa7e7f5136b7e98dad7d0f8fb389954.zip
again, changes for production, including static relocation
Diffstat (limited to 'bn_django/settings.py')
-rw-r--r--bn_django/settings.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/bn_django/settings.py b/bn_django/settings.py
index 3183cdc..f8b6ed9 100644
--- a/bn_django/settings.py
+++ b/bn_django/settings.py
@@ -1,6 +1,6 @@
# Django settings for bn_django project.
-DEBUG = True
+DEBUG = False
TEMPLATE_DEBUG = DEBUG
ADMINS = (
@@ -11,7 +11,7 @@ ADMINS = (
MANAGERS = ADMINS
DATABASE_ENGINE = 'sqlite3' # 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
-DATABASE_NAME = '/home/bnewbold/bn-project/bn_django/bn_django.db' # Or path to database file if using sqlite3.
+DATABASE_NAME = '/srv/django/bn_django.db' # Or path to database file if using sqlite3.
DATABASE_USER = '' # Not used with sqlite3.
DATABASE_PASSWORD = '' # Not used with sqlite3.
DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3.
@@ -34,16 +34,16 @@ USE_I18N = True
# Absolute path to the directory that holds media.
# Example: "/home/media/media.lawrence.com/"
-MEDIA_ROOT = '/home/bnewbold/bn-project/media/'
+MEDIA_ROOT = '/srv/http/bryannewbold/static/'
# URL that handles the media served from MEDIA_ROOT.
# Example: "http://media.lawrence.com"
-MEDIA_URL = '/media/'
+MEDIA_URL = '/static/'
# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
# trailing slash.
# Examples: "http://foo.com/media/", "/media/".
-ADMIN_MEDIA_PREFIX = '/style/django-admin/'
+ADMIN_MEDIA_PREFIX = '/static/django-admin/'
# Make this unique, and don't share it with anybody.
SECRET_KEY = 'jdsgk29845ldsfg0090204tv(GFD8g0(%$)*@$#R%U)#*ifd;/q'
@@ -70,7 +70,7 @@ TEMPLATE_DIRS = (
# 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.
- '/home/bnewbold/bn-project/bn_django/templates',
+ '/srv/django/bn-project/bn_django/templates',
)
INSTALLED_APPS = (