1 # Django settings for ils_admin project.
7 # ('Your Name', 'your_email@domain.com'),
12 DATABASE_ENGINE = 'postgresql' # 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
13 DATABASE_NAME = '' # Or path to database file if using sqlite3.
14 DATABASE_SCHEMAS = 'public, permission, actor' # Only used with postgresq to support multiple schemas
15 DATABASE_USER = '' # Not used with sqlite3.
16 DATABASE_PASSWORD = '' # Not used with sqlite3.
17 DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3.
18 DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3.
20 # Local time zone for this installation. All choices can be found here:
21 # http://www.postgresql.org/docs/current/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE
22 TIME_ZONE = 'America/New_York'
24 # Language code for this installation. All choices can be found here:
25 # http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes
26 # http://blogs.law.harvard.edu/tech/stories/storyReader$15
27 LANGUAGE_CODE = 'en-us'
31 # If you set this to False, Django will make some optimizations so as not
32 # to load the internationalization machinery.
35 # Absolute path to the directory that holds media.
36 # Example: "/home/media/media.lawrence.com/"
39 # URL that handles the media served from MEDIA_ROOT.
40 # Example: "http://media.lawrence.com"
43 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
45 # Examples: "http://foo.com/media/", "/media/".
46 ADMIN_MEDIA_PREFIX = '/media/'
48 # Make this unique, and don't share it with anybody.
49 SECRET_KEY = 'rpbefxd0ahnu0pz1hyw6fo$_fj%%op!d9*7bqh0dw=&-^dz8%z'
51 # List of callables that know how to import templates from various sources.
53 'django.template.loaders.filesystem.load_template_source',
54 'django.template.loaders.app_directories.load_template_source',
55 # 'django.template.loaders.eggs.load_template_source',
58 MIDDLEWARE_CLASSES = (
59 'django.middleware.common.CommonMiddleware',
60 'django.contrib.sessions.middleware.SessionMiddleware',
61 'django.contrib.auth.middleware.AuthenticationMiddleware',
62 'django.middleware.doc.XViewMiddleware',
65 ROOT_URLCONF = 'ils_admin.urls'
68 # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
69 # Always use forward slashes, even on Windows.
70 # Don't forget to use absolute paths, not relative paths.
71 '/openils/var/admin/ils_admin/templates/default'
75 'django.contrib.auth',
76 'django.contrib.contenttypes',
77 'django.contrib.sessions',
78 'django.contrib.sites',
79 'django.contrib.admin',