1 from settings_local
import DEBUG
, ADMINS
, DATABASES
, SECRET_KEY
, WFGSITE_ROOT
7 # Local time zone for this installation. Choices can be found here:
8 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
9 # although not all choices may be available on all operating systems.
10 # On Unix systems, a value of None will cause Django to use the same
11 # timezone as the operating system.
12 # If running in a Windows environment this must be set to the same as your
16 # Language code for this installation. All choices can be found here:
17 # http://www.i18nguy.com/unicode/language-identifiers.html
18 LANGUAGE_CODE
= 'en-us'
22 # If you set this to False, Django will make some optimizations so as not
23 # to load the internationalization machinery.
26 # If you set this to False, Django will not format dates, numbers and
27 # calendars according to the current locale
30 # Absolute path to the directory that holds media.
31 # Example: "/home/media/media.lawrence.com/media/"
34 # URL that handles the media served from MEDIA_ROOT. Make sure to use a
35 # trailing slash if there is a path component (optional in other cases).
36 # Examples: "http://media.lawrence.com", "http://example.com/media/"
39 # Absolute path to the directory that holds media.
40 # Example: "/home/media/media.lawrence.com/static/"
43 # URL that handles the static files served from STATIC_ROOT.
44 # Example: "http://static.lawrence.com/", "http://example.com/static/"
45 STATIC_URL
= '/static/'
47 # URL prefix for admin media -- CSS, JavaScript and images.
48 # Make sure to use a trailing slash.
49 # Examples: "http://foo.com/static/admin/", "/static/admin/".
50 ADMIN_MEDIA_PREFIX
= '/static/admin/'
52 # A list of locations of additional static files
55 # List of finder classes that know how to find static files in
57 STATICFILES_FINDERS
= (
58 'django.contrib.staticfiles.finders.FileSystemFinder',
59 'django.contrib.staticfiles.finders.AppDirectoriesFinder',
60 # 'django.contrib.staticfiles.finders.DefaultStorageFinder',
63 # List of callables that know how to import templates from various sources.
65 'django.template.loaders.filesystem.Loader',
66 'django.template.loaders.app_directories.Loader',
67 # 'django.template.loaders.eggs.Loader',
70 MIDDLEWARE_CLASSES
= (
71 'django.middleware.common.CommonMiddleware',
72 'django.contrib.sessions.middleware.SessionMiddleware',
73 'django.middleware.csrf.CsrfViewMiddleware',
74 'django.contrib.auth.middleware.AuthenticationMiddleware',
75 'django.contrib.messages.middleware.MessageMiddleware',
76 # 'profilemiddleware.ProfileMiddleware',
79 PROFILE_MIDDLEWARE_SORT
= ('time', 'calls')
84 # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
85 # Always use forward slashes, even on Windows.
86 # Don't forget to use absolute paths, not relative paths.
87 '%s/userreport/templates' % WFGSITE_ROOT
,
91 'django.contrib.auth',
92 'django.contrib.contenttypes',
93 'django.contrib.sessions',
94 'django.contrib.sites',
95 'django.contrib.messages',
96 'django.contrib.staticfiles',
97 'django.contrib.admin',
102 # A sample logging configuration. The only tangible logging
103 # performed by this configuration is to send an email to
104 # the site admins on every HTTP 500 error.
105 # See http://docs.djangoproject.com/en/dev/topics/logging for
106 # more details on how to customize your logging configuration.
109 'disable_existing_loggers': False,
113 'class': 'django.utils.log.AdminEmailHandler',
114 #'include_html': False, # TODO: use once 1.3 final is released
119 'handlers': ['mail_admins'],