settings.py
branchanoop
changeset 26 212fcba4459e
parent 23 2aae8293f3a7
child 35 20d3b4230e4f
equal deleted inserted replaced
25:30baf3c635c5 26:212fcba4459e
     1 # Django settings for sage_days project.
     1 # Django settings for sage_days project.
     2 
     2 
     3 DEBUG = True
     3 DEBUG = False
     4 TEMPLATE_DEBUG = DEBUG
     4 TEMPLATE_DEBUG = DEBUG
     5 
     5 
     6 ADMINS = (
     6 ADMINS = (('Anoop Jacob Thomas','anoop@fossee.in')
     7     # ('Your Name', 'your_email@domain.com'),
     7     # ('Your Name', 'your_email@domain.com'),
     8 )
     8 )
     9 
     9 
    10 MANAGERS = ADMINS
    10 MANAGERS = ADMINS
    11 
    11 
    12 DATABASE_ENGINE = 'sqlite3'           # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
    12 DATABASE_ENGINE = 'sqlite3'           # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
    13 DATABASE_NAME = 'sage.db'             # Or path to database file if using sqlite3.
    13 DATABASE_NAME = '/var/www/html/sage_days/sage.db'             # Or path to database file if using sqlite3.
    14 DATABASE_USER = ''             # Not used with sqlite3.
    14 DATABASE_USER = ''             # Not used with sqlite3.
    15 DATABASE_PASSWORD = ''         # Not used with sqlite3.
    15 DATABASE_PASSWORD = ''         # Not used with sqlite3.
    16 DATABASE_HOST = ''             # Set to empty string for localhost. Not used with sqlite3.
    16 DATABASE_HOST = ''             # Set to empty string for localhost. Not used with sqlite3.
    17 DATABASE_PORT = ''             # Set to empty string for default. Not used with sqlite3.
    17 DATABASE_PORT = ''             # Set to empty string for default. Not used with sqlite3.
    18 
    18 
    67 
    67 
    68 TEMPLATE_DIRS = (
    68 TEMPLATE_DIRS = (
    69     # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
    69     # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
    70     # Always use forward slashes, even on Windows.
    70     # Always use forward slashes, even on Windows.
    71     # Don't forget to use absolute paths, not relative paths.
    71     # Don't forget to use absolute paths, not relative paths.
    72     './templates',
    72     '/var/www/html/sage_days/templates',
    73 )
    73 )
    74 
    74 
    75 INSTALLED_APPS = (
    75 INSTALLED_APPS = (
    76     'django.contrib.auth',
    76     'django.contrib.auth',
    77     'django.contrib.contenttypes',
    77     'django.contrib.contenttypes',
    79     'django.contrib.sites',
    79     'django.contrib.sites',
    80     'django.contrib.admin',
    80     'django.contrib.admin',
    81     'sage_days.sdi',
    81     'sage_days.sdi',
    82 )
    82 )
    83 
    83 
    84 APACHE_URL_PREFIX = "/sagedays/"
    84 APACHE_URL_PREFIX = "sage_days"
    85 ADMIN_URL_PREFIX = "ditchax"
    85 ADMIN_URL_PREFIX = "ditchax"