~brian-murray/mapuntu/10.04.02

« back to all changes in this revision

Viewing changes to settings.py

  • Committer: Ahmed Kamal
  • Date: 2010-07-29 07:55:18 UTC
  • Revision ID: email.ahmedkamal@googlemail.com-20100729075518-epn2lmsvn8sxbg5q
- Improving README
- Adding Settings support for django 1.1 (commented in settings.py) 1.2 remains default
- Added filldb.py. Import it to create 10,000 DB entries

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
MANAGERS = ADMINS
13
13
 
 
14
# These settings are for Django 1.1
 
15
#
 
16
#DATABASE_ENGINE = ''           # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
 
17
#DATABASE_NAME = ''             # Or path to database file if using sqlite3.
 
18
#DATABASE_USER = ''             # Not used with sqlite3.
 
19
#DATABASE_PASSWORD = ''         # Not used with sqlite3.
 
20
#DATABASE_HOST = ''             # Set to empty string for localhost. Not used with sqlite3.
 
21
#DATABASE_PORT = ''             # Set to empty string for default. Not used with sqlite3.
 
22
 
 
23
# WARNING the DB settings below are for Django-1.2 .. For 1.1 use the commented ones above!
14
24
DATABASES = {
15
25
    'default': {
16
26
        'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
62
72
# Make this unique, and don't share it with anybody.
63
73
SECRET_KEY = 'uv!gffb*r*6@k@$#05&l%4835wtv7iwlddfeu)a**c%@2f=iqr'
64
74
 
 
75
# These settings are for Django 1.1
 
76
#
 
77
# TEMPLATE_LOADERS = (
 
78
#     'django.template.loaders.filesystem.load_template_source',
 
79
#     'django.template.loaders.app_directories.load_template_source',
 
80
#     #'django.template.loaders.eggs.Loader',
 
81
# )
 
82
 
 
83
# WARNING the DB settings below are for Django-1.2 .. For 1.1 use the commented ones above!
65
84
# List of callables that know how to import templates from various sources.
66
85
TEMPLATE_LOADERS = (
67
86
    'django.template.loaders.filesystem.Loader',