diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2009-07-26 22:33:56 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2009-07-26 22:33:56 -0400 |
commit | faf167aed99ac4e28927f729b7c7bc94a47ef139 (patch) | |
tree | db94fc2e3af7c23fdced6b48768283b9ca8f1019 /settings_local.py.dist | |
parent | a7a5d993c680a2fa2a541951d99742090a716807 (diff) | |
download | askbot-faf167aed99ac4e28927f729b7c7bc94a47ef139.tar.gz askbot-faf167aed99ac4e28927f729b7c7bc94a47ef139.tar.bz2 askbot-faf167aed99ac4e28927f729b7c7bc94a47ef139.zip |
merged in latest Mikes changes
Diffstat (limited to 'settings_local.py.dist')
-rw-r--r-- | settings_local.py.dist | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/settings_local.py.dist b/settings_local.py.dist new file mode 100644 index 00000000..2c8f939d --- /dev/null +++ b/settings_local.py.dist @@ -0,0 +1,25 @@ +SITE_SRC_ROOT = '/Users/sailing/Development/cnprog_beta2' + +#for logging +import logging +LOG_FILENAME = '/Users/sailing/Development/cnprog_beta2/django.lanai.log' +logging.basicConfig(filename=LOG_FILENAME,level=logging.DEBUG,) + + +#Database configuration +DATABASE_ENGINE = 'mysql' +DATABASE_HOST = '' +DATABASE_PORT = '' +DATABASE_NAME = 'cnprog' # Or path to database file if using sqlite3. +DATABASE_USER = 'root' # Not used with sqlite3. +DATABASE_PASSWORD = '' # Not used with sqlite3. + + +# Absolute path to the directory that holds media. +# Example: "/home/media/media.lawrence.com/" +MEDIA_ROOT = '/Users/sailing/Development/cnprog_beta2/templates/upfiles/' + +# URL that handles the media served from MEDIA_ROOT. Make sure to use a +# trailing slash if there is a path component (optional in other cases). +# Examples: "http://media.lawrence.com", "http://example.com/media/" +MEDIA_URL = 'http://127.0.0.1:8000/upfiles/' |