settings.py
changeset 6 eb8e00312877
parent 5 962b45987a02
child 11 ed77b6c62d61
equal deleted inserted replaced
5:962b45987a02 6:eb8e00312877
     1 # Django settings for spoken_tut project.
     1 # Django settings for spoken_tut project.
       
     2 
       
     3 import os
     2 
     4 
     3 DEBUG = True
     5 DEBUG = True
     4 TEMPLATE_DEBUG = DEBUG
     6 TEMPLATE_DEBUG = DEBUG
     5 
     7 
     6 ADMINS = (
     8 ADMINS = (
    12 
    14 
    13 MANAGERS = ADMINS
    15 MANAGERS = ADMINS
    14 
    16 
    15 DATABASE_ENGINE = 'mysql'           # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
    17 DATABASE_ENGINE = 'mysql'           # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
    16 DATABASE_NAME = 'uploads'             # Or path to database file if using sqlite3.
    18 DATABASE_NAME = 'uploads'             # Or path to database file if using sqlite3.
    17 DATABASE_USER = 'nme_ict'             # Not used with sqlite3.
    19 DATABASE_USER = 'spoken'             # Not used with sqlite3.
    18 DATABASE_PASSWORD = 'NotMeICT'         # Not used with sqlite3.
    20 DATABASE_PASSWORD = 'NotMeICT'         # Not used with sqlite3.
    19 DATABASE_HOST = ''             # Set to empty string for localhost. Not used with sqlite3.
    21 DATABASE_HOST = ''             # Set to empty string for localhost. Not used with sqlite3.
    20 DATABASE_PORT = ''             # Set to empty string for default. Not used with sqlite3.
    22 DATABASE_PORT = ''             # Set to empty string for default. Not used with sqlite3.
    21 
    23 
    22 # Local time zone for this installation. Choices can be found here:
    24 # Local time zone for this installation. Choices can be found here: