aboutsummaryrefslogtreecommitdiff
path: root/chishop/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'chishop/settings.py')
-rw-r--r--chishop/settings.py32
1 files changed, 7 insertions, 25 deletions
diff --git a/chishop/settings.py b/chishop/settings.py
index 2ff0103..4abd490 100644
--- a/chishop/settings.py
+++ b/chishop/settings.py
@@ -1,38 +1,19 @@
1# Django settings for djangopypi project. 1# Django settings for djangopypi project.
2import os 2import os
3 3
4# ####
5# This are the settings you're most likely to change
6# when running the chishop servber.
7
8# If this is true errors will have informative error pages.
9DEBUG = True
10
11ADMINS = ( 4ADMINS = (
12 # ('Your Name', 'your_email@domain.com'), 5 # ('Your Name', 'your_email@domain.com'),
13) 6)
14 7
15# Absolute path to the directory that holds media. 8MANAGERS = ADMINS
16# Example: "/home/media/media.lawrence.com/"
17# Uploaded python distributions will be saved in the
18# dists/ directory under this path.
19here = os.path.abspath(os.path.dirname(__file__))
20MEDIA_ROOT = os.path.join(here, 'media')
21
22
23# Database settings.
24 9
25DATABASE_ENGINE = 'sqlite3' # or mysql 10DATABASE_ENGINE = ''
26DATABASE_NAME = 'devdatabase.db' 11DATABASE_NAME = ''
27DATABASE_USER = '' 12DATABASE_USER = ''
28DATABASE_PASSWORD = '' 13DATABASE_PASSWORD = ''
29DATABASE_HOST = '' 14DATABASE_HOST = ''
30DATABASE_PORT = '' 15DATABASE_PORT = ''
31 16
32
33# ###### --- settings below here, are probably not that important ---- #####
34
35
36# Local time zone for this installation. Choices can be found here: 17# Local time zone for this installation. Choices can be found here:
37# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name 18# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
38# although not all choices may be available on all operating systems. 19# although not all choices may be available on all operating systems.
@@ -44,15 +25,16 @@ TIME_ZONE = 'America/Chicago'
44# http://www.i18nguy.com/unicode/language-identifiers.html 25# http://www.i18nguy.com/unicode/language-identifiers.html
45LANGUAGE_CODE = 'en-us' 26LANGUAGE_CODE = 'en-us'
46 27
47MANAGERS = ADMINS
48TEMPLATE_DEBUG = DEBUG
49LOCAL_DEVELOPMENT = DEBUG
50SITE_ID = 1 28SITE_ID = 1
51 29
52# If you set this to False, Django will make some optimizations so as not 30# If you set this to False, Django will make some optimizations so as not
53# to load the internationalization machinery. 31# to load the internationalization machinery.
54USE_I18N = True 32USE_I18N = True
55 33
34# Absolute path to the directory that holds media.
35# Example: "/home/media/media.lawrence.com/"
36here = os.path.abspath(os.path.dirname(__file__))
37MEDIA_ROOT = os.path.join(here, 'media')
56 38
57# URL that handles the media served from MEDIA_ROOT. Make sure to use a 39# URL that handles the media served from MEDIA_ROOT. Make sure to use a
58# trailing slash if there is a path component (optional in other cases). 40# trailing slash if there is a path component (optional in other cases).