1 # Django settings for django-ldapdb project.
7 # ('Your Name', 'your_email@domain.com'),
14 'ENGINE': 'django.db.backends.sqlite3',
22 'ENGINE': 'ldapdb.backends.ldap',
24 'USER': 'cn=admin,dc=nodomain',
28 DATABASE_ROUTERS = ['ldapdb.router.Router']
30 # Local time zone for this installation. Choices can be found here:
31 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
32 # although not all choices may be available on all operating systems.
33 # On Unix systems, a value of None will cause Django to use the same
34 # timezone as the operating system.
35 # If running in a Windows environment this must be set to the same as your
37 TIME_ZONE = 'America/Chicago'
39 # Language code for this installation. All choices can be found here:
40 # http://www.i18nguy.com/unicode/language-identifiers.html
41 LANGUAGE_CODE = 'en-us'
45 # If you set this to False, Django will make some optimizations so as not
46 # to load the internationalization machinery.
49 # If you set this to False, Django will not format dates, numbers and
50 # calendars according to the current locale
53 # Absolute filesystem path to the directory that will hold user-uploaded files.
54 # Example: "/home/media/media.lawrence.com/"
57 # URL that handles the media served from MEDIA_ROOT. Make sure to use a
58 # trailing slash if there is a path component (optional in other cases).
59 # Examples: "http://media.lawrence.com", "http://example.com/media/"
62 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
64 # Examples: "http://foo.com/media/", "/media/".
65 ADMIN_MEDIA_PREFIX = '/media/'
67 # Make this unique, and don't share it with anybody.
68 SECRET_KEY = 'some_random_secret_key'
70 # List of callables that know how to import templates from various sources.
72 'django.template.loaders.filesystem.Loader',
73 'django.template.loaders.app_directories.Loader',
74 # 'django.template.loaders.eggs.Loader',
77 MIDDLEWARE_CLASSES = (
78 'django.middleware.common.CommonMiddleware',
79 'django.contrib.sessions.middleware.SessionMiddleware',
80 'django.middleware.csrf.CsrfViewMiddleware',
81 'django.contrib.auth.middleware.AuthenticationMiddleware',
82 'django.contrib.messages.middleware.MessageMiddleware',
88 # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
89 # Always use forward slashes, even on Windows.
90 # Don't forget to use absolute paths, not relative paths.
94 'django.contrib.auth',
95 'django.contrib.contenttypes',
96 'django.contrib.sessions',
97 'django.contrib.sites',
100 'django.contrib.admin',