settings.py
changeset 65 51bec924f97b
parent 62 b7e47cc39342
child 92 bff52631d402
equal deleted inserted replaced
64:df751cd8a1e4 65:51bec924f97b
     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 = 'ws.db'             # Or path to database file if using sqlite3.
    13 DATABASE_NAME = '/home/hg/repos/ws_app/database/ws.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     '/home/hg/repos/ws_app/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',