Ignore:
Timestamp:
Apr 15, 2011, 6:37:35 PM (14 years ago)
Author:
rick
Message:

Cosmetic cleanups to make code better readable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/django_gheat/samples/persisted/settings.py

    r9041 r9051  
    88
    99ADMINS = (
    10     # ('Your Name', 'your_email@domain.com'),
     10     ('Test Admin', 'admin@example.org'),
    1111)
    1212
     
    1515DATABASES = {
    1616    'default': {
    17         'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
    18         'NAME': 'project_heatmap',                      # Or path to database file if using sqlite3.
    19         'USER': 'root',                      # Not used with sqlite3.
    20         'PASSWORD': 'password',                  # Not used with sqlite3.
    21         'HOST': 'localhost',                      # Set to empty string for localhost. Not used with sqlite3.
    22         'PORT': '3306',                      # Set to empty string for default. Not used with sqlite3.
     17        'ENGINE': 'django.db.backends.mysql',
     18        'NAME': 'project_heatmap',
     19        'USER': 'root',
     20        'PASSWORD': 'password',
     21        'HOST': 'localhost',
     22        'PORT': '3306',
    2323    }
    2424}
     
    6262    'django.template.loaders.filesystem.load_template_source',
    6363    'django.template.loaders.app_directories.load_template_source',
    64 #     'django.template.loaders.eggs.load_template_source',
     64    'django.template.loaders.eggs.load_template_source',
    6565)
    6666
     
    7676    # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
    7777    # Always use forward slashes, even on Windows.
    78     # Don't forget toABQIAAAA6NuvWGazX80RVrkSkvrUXBQuY05VDPolZO1YI32txJLc5t1HWBRafKMBWIXOpS9wazP_0ErZiNd8_g use absolute paths, not relative paths.
     78    # Don't forget to use absolute paths, not relative paths.
    7979    os.path.join(PROJECT_HOME, 'templates'),
    80    
    8180)
    8281
    8382INSTALLED_APPS = (
     83    'django.contrib.admin',
    8484    'django.contrib.auth',
    8585    'django.contrib.contenttypes',
    8686    'django.contrib.sessions',
    8787    'django.contrib.sites',
     88    'django_extensions',
    8889    'gheat',
    89     'django_extensions',
    9090    'home',
    91     'django.contrib.admin',
    9291)
    9392
Note: See TracChangeset for help on using the changeset viewer.