settings.py
author nishanth
Mon, 19 Apr 2010 21:40:39 +0530
changeset 2 a28d06481350
parent 1 5d921672ef41
child 5 9a671f3eb24c
permissions -rw-r--r--
updated timezone
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
33750f11199f initial commit.
nishanth
parents:
diff changeset
     1
# Django settings for offline project.
33750f11199f initial commit.
nishanth
parents:
diff changeset
     2
33750f11199f initial commit.
nishanth
parents:
diff changeset
     3
DEBUG = True
33750f11199f initial commit.
nishanth
parents:
diff changeset
     4
TEMPLATE_DEBUG = DEBUG
33750f11199f initial commit.
nishanth
parents:
diff changeset
     5
33750f11199f initial commit.
nishanth
parents:
diff changeset
     6
ADMINS = (
33750f11199f initial commit.
nishanth
parents:
diff changeset
     7
    # ('Your Name', 'your_email@domain.com'),
33750f11199f initial commit.
nishanth
parents:
diff changeset
     8
)
33750f11199f initial commit.
nishanth
parents:
diff changeset
     9
33750f11199f initial commit.
nishanth
parents:
diff changeset
    10
MANAGERS = ADMINS
33750f11199f initial commit.
nishanth
parents:
diff changeset
    11
1
5d921672ef41 added db to settings and made an app called feedback
nishanth
parents: 0
diff changeset
    12
DATABASE_ENGINE = 'sqlite3'           # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
5d921672ef41 added db to settings and made an app called feedback
nishanth
parents: 0
diff changeset
    13
DATABASE_NAME = 'tmp.db'             # Or path to database file if using sqlite3.
0
33750f11199f initial commit.
nishanth
parents:
diff changeset
    14
DATABASE_USER = ''             # Not used with sqlite3.
33750f11199f initial commit.
nishanth
parents:
diff changeset
    15
DATABASE_PASSWORD = ''         # Not used with sqlite3.
33750f11199f initial commit.
nishanth
parents:
diff changeset
    16
DATABASE_HOST = ''             # Set to empty string for localhost. Not used with sqlite3.
33750f11199f initial commit.
nishanth
parents:
diff changeset
    17
DATABASE_PORT = ''             # Set to empty string for default. Not used with sqlite3.
33750f11199f initial commit.
nishanth
parents:
diff changeset
    18
33750f11199f initial commit.
nishanth
parents:
diff changeset
    19
# Local time zone for this installation. Choices can be found here:
33750f11199f initial commit.
nishanth
parents:
diff changeset
    20
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
33750f11199f initial commit.
nishanth
parents:
diff changeset
    21
# although not all choices may be available on all operating systems.
33750f11199f initial commit.
nishanth
parents:
diff changeset
    22
# If running in a Windows environment this must be set to the same as your
33750f11199f initial commit.
nishanth
parents:
diff changeset
    23
# system time zone.
2
a28d06481350 updated timezone
nishanth
parents: 1
diff changeset
    24
TIME_ZONE = 'Asia/Kolkata'
0
33750f11199f initial commit.
nishanth
parents:
diff changeset
    25
33750f11199f initial commit.
nishanth
parents:
diff changeset
    26
# Language code for this installation. All choices can be found here:
33750f11199f initial commit.
nishanth
parents:
diff changeset
    27
# http://www.i18nguy.com/unicode/language-identifiers.html
33750f11199f initial commit.
nishanth
parents:
diff changeset
    28
LANGUAGE_CODE = 'en-us'
33750f11199f initial commit.
nishanth
parents:
diff changeset
    29
33750f11199f initial commit.
nishanth
parents:
diff changeset
    30
SITE_ID = 1
33750f11199f initial commit.
nishanth
parents:
diff changeset
    31
33750f11199f initial commit.
nishanth
parents:
diff changeset
    32
# If you set this to False, Django will make some optimizations so as not
33750f11199f initial commit.
nishanth
parents:
diff changeset
    33
# to load the internationalization machinery.
33750f11199f initial commit.
nishanth
parents:
diff changeset
    34
USE_I18N = True
33750f11199f initial commit.
nishanth
parents:
diff changeset
    35
33750f11199f initial commit.
nishanth
parents:
diff changeset
    36
# Absolute path to the directory that holds media.
33750f11199f initial commit.
nishanth
parents:
diff changeset
    37
# Example: "/home/media/media.lawrence.com/"
33750f11199f initial commit.
nishanth
parents:
diff changeset
    38
MEDIA_ROOT = ''
33750f11199f initial commit.
nishanth
parents:
diff changeset
    39
33750f11199f initial commit.
nishanth
parents:
diff changeset
    40
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
33750f11199f initial commit.
nishanth
parents:
diff changeset
    41
# trailing slash if there is a path component (optional in other cases).
33750f11199f initial commit.
nishanth
parents:
diff changeset
    42
# Examples: "http://media.lawrence.com", "http://example.com/media/"
33750f11199f initial commit.
nishanth
parents:
diff changeset
    43
MEDIA_URL = ''
33750f11199f initial commit.
nishanth
parents:
diff changeset
    44
33750f11199f initial commit.
nishanth
parents:
diff changeset
    45
# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
33750f11199f initial commit.
nishanth
parents:
diff changeset
    46
# trailing slash.
33750f11199f initial commit.
nishanth
parents:
diff changeset
    47
# Examples: "http://foo.com/media/", "/media/".
33750f11199f initial commit.
nishanth
parents:
diff changeset
    48
ADMIN_MEDIA_PREFIX = '/media/'
33750f11199f initial commit.
nishanth
parents:
diff changeset
    49
33750f11199f initial commit.
nishanth
parents:
diff changeset
    50
# Make this unique, and don't share it with anybody.
33750f11199f initial commit.
nishanth
parents:
diff changeset
    51
SECRET_KEY = 'n10!ejc-bem&&1b+p)dw^$8w27s17k7y+w_ukhd+39u6=wwtw_'
33750f11199f initial commit.
nishanth
parents:
diff changeset
    52
33750f11199f initial commit.
nishanth
parents:
diff changeset
    53
# List of callables that know how to import templates from various sources.
33750f11199f initial commit.
nishanth
parents:
diff changeset
    54
TEMPLATE_LOADERS = (
33750f11199f initial commit.
nishanth
parents:
diff changeset
    55
    'django.template.loaders.filesystem.load_template_source',
33750f11199f initial commit.
nishanth
parents:
diff changeset
    56
    'django.template.loaders.app_directories.load_template_source',
33750f11199f initial commit.
nishanth
parents:
diff changeset
    57
#     'django.template.loaders.eggs.load_template_source',
33750f11199f initial commit.
nishanth
parents:
diff changeset
    58
)
33750f11199f initial commit.
nishanth
parents:
diff changeset
    59
33750f11199f initial commit.
nishanth
parents:
diff changeset
    60
MIDDLEWARE_CLASSES = (
33750f11199f initial commit.
nishanth
parents:
diff changeset
    61
    'django.middleware.common.CommonMiddleware',
33750f11199f initial commit.
nishanth
parents:
diff changeset
    62
    'django.contrib.sessions.middleware.SessionMiddleware',
33750f11199f initial commit.
nishanth
parents:
diff changeset
    63
    'django.contrib.auth.middleware.AuthenticationMiddleware',
33750f11199f initial commit.
nishanth
parents:
diff changeset
    64
)
33750f11199f initial commit.
nishanth
parents:
diff changeset
    65
33750f11199f initial commit.
nishanth
parents:
diff changeset
    66
ROOT_URLCONF = 'offline.urls'
33750f11199f initial commit.
nishanth
parents:
diff changeset
    67
33750f11199f initial commit.
nishanth
parents:
diff changeset
    68
TEMPLATE_DIRS = (
33750f11199f initial commit.
nishanth
parents:
diff changeset
    69
    # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
33750f11199f initial commit.
nishanth
parents:
diff changeset
    70
    # Always use forward slashes, even on Windows.
33750f11199f initial commit.
nishanth
parents:
diff changeset
    71
    # Don't forget to use absolute paths, not relative paths.
33750f11199f initial commit.
nishanth
parents:
diff changeset
    72
)
33750f11199f initial commit.
nishanth
parents:
diff changeset
    73
33750f11199f initial commit.
nishanth
parents:
diff changeset
    74
INSTALLED_APPS = (
33750f11199f initial commit.
nishanth
parents:
diff changeset
    75
    'django.contrib.auth',
33750f11199f initial commit.
nishanth
parents:
diff changeset
    76
    'django.contrib.contenttypes',
33750f11199f initial commit.
nishanth
parents:
diff changeset
    77
    'django.contrib.sessions',
33750f11199f initial commit.
nishanth
parents:
diff changeset
    78
    'django.contrib.sites',
33750f11199f initial commit.
nishanth
parents:
diff changeset
    79
)