settings.py
changeset 2 0c8f277f2ea3
parent 1 76e7f41b03ef
child 4 ac7eaa878437
equal deleted inserted replaced
1:76e7f41b03ef 2:0c8f277f2ea3
     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 = ''           # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
    12 DATABASE_ENGINE = 'sqlite3'           # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
    13 DATABASE_NAME = ''             # Or path to database file if using sqlite3.
    13 DATABASE_NAME = '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     '.',
    72     './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',
    78     'django.contrib.sessions',
    78     'django.contrib.sessions',
    79     'django.contrib.sites',
    79     'django.contrib.sites',
       
    80     'django.contrib.admin',
    80 )
    81 )
    81 
    82 
    82 APACHE_URL_PREFIX = "/sagedays/"
    83 APACHE_URL_PREFIX = "/sagedays/"