Make IPyPBX work with SQL tables created by django models
[ipypbx] / projects / sample / local_settings.py.template
1 # Django settings for sample project.
2
3 DEBUG = True
4 TEMPLATE_DEBUG = DEBUG
5
6 ADMINS = (
7     ('Stas Shtin', 'stas@example.com'),
8 )
9
10 MANAGERS = ADMINS
11
12 DATABASE_ENGINE = 'sqlite3'           # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
13 DATABASE_NAME = '/home/antisvin/.ipypbx/ipypbx.db'             # Or path to database file if using sqlite3.
14
15 # Local time zone for this installation. Choices can be found here:
16 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
17 # although not all choices may be available on all operating systems.
18 # If running in a Windows environment this must be set to the same as your
19 # system time zone.
20 TIME_ZONE = 'Europe/Moscow'
21
22 # Language code for this installation. All choices can be found here:
23 # http://www.i18nguy.com/unicode/language-identifiers.html
24 LANGUAGE_CODE = 'en-us'
25
26 SITE_ID = 1
27
28 # If you set this to False, Django will make some optimizations so as not
29 # to load the internationalization machinery.
30 USE_I18N = True
31
32 # Absolute path to the directory that holds media.
33 # Example: "/home/media/media.lawrence.com/"
34 MEDIA_ROOT = ''
35
36 # URL that handles the media served from MEDIA_ROOT. Make sure to use a
37 # trailing slash if there is a path component (optional in other cases).
38 # Examples: "http://media.lawrence.com", "http://example.com/media/"
39 MEDIA_URL = ''
40
41 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
42 # trailing slash.
43 # Examples: "http://foo.com/media/", "/media/".
44 ADMIN_MEDIA_PREFIX = '/media/'
45
46 # Make this unique, and don't share it with anybody.
47 SECRET_KEY = 'm%j*u3=&^oj*o&lfdsr0q)!83%=)op-ruc%i#q@ccoet0nhgj3'
48
49 # List of callables that know how to import templates from various sources.
50 TEMPLATE_LOADERS = (
51     'django.template.loaders.filesystem.load_template_source',
52     'django.template.loaders.app_directories.load_template_source',
53 #     'django.template.loaders.eggs.load_template_source',
54 )
55
56 MIDDLEWARE_CLASSES = (
57     'django.middleware.common.CommonMiddleware',
58     'django.contrib.sessions.middleware.SessionMiddleware',
59     'django.contrib.auth.middleware.AuthenticationMiddleware',
60 )
61
62 ROOT_URLCONF = 'sample.urls'
63
64 TEMPLATE_DIRS = (
65     # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
66     # Always use forward slashes, even on Windows.
67     # Don't forget to use absolute paths, not relative paths.
68 )