summaryrefslogtreecommitdiffstats
path: root/settings_local.py.dist
blob: 96f28b4e727269805a3fbb8a5109d7afb98099d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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_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/'