Added the irclog django project
[pyIRCbot.git] / irclog / settings.py
blob2f88f25ce0d60fa033c9852bf29412401047e3ea
1 import os.path
3 DEBUG = True
4 TEMPLATE_DEBUG = DEBUG
6 ADMINS = (
7 ('Piotr Husiatynski', 'phusiatynski@gmail.com'),
10 PROJECT_PATH = os.path.dirname(__file__)
11 #PROJECT_PATH = "/home/piotrek/DJANGO/irclog/irclog/"
12 MANAGERS = ADMINS
14 DATABASE_ENGINE = 'sqlite3'
15 DATABASE_NAME = './django_sqlite3_database.db'
16 DATABASE_USER = ''
17 DATABASE_PASSWORD = ''
18 DATABASE_HOST = ''
19 DATABASE_PORT = ''
21 TIME_ZONE = 'Europe/Warsaw'
22 LANGUAGE_CODE = 'pl'
23 SITE_ID = 1
24 # If you set this to False, Django will make some optimizations so as not
25 # to load the internationalization machinery.
26 USE_I18N = True
28 # Absolute path to the directory that holds media.
29 # Example: "/home/media/media.lawrence.com/"
30 MEDIA_ROOT = ''
32 # URL that handles the media served from MEDIA_ROOT.
33 # Example: "http://media.lawrence.com"
34 MEDIA_URL = ''
36 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
37 # trailing slash.
38 # Examples: "http://foo.com/media/", "/media/".
39 ADMIN_MEDIA_PREFIX = '/media/'
41 # Make this unique, and don't share it with anybody.
42 SECRET_KEY = 'wz+e%16kmv62ztwrh&^+ra8=*g#490l2&=kmb-w#w6+e+cd^vy'
44 # List of callables that know how to import templates from various sources.
45 TEMPLATE_LOADERS = (
46 'django.template.loaders.filesystem.load_template_source',
47 'django.template.loaders.app_directories.load_template_source',
48 # 'django.template.loaders.eggs.load_template_source',
51 MIDDLEWARE_CLASSES = (
52 'django.middleware.common.CommonMiddleware',
53 'django.contrib.sessions.middleware.SessionMiddleware',
54 'django.contrib.auth.middleware.AuthenticationMiddleware',
55 'django.middleware.doc.XViewMiddleware',
58 ROOT_URLCONF = 'irclog.urls'
60 TEMPLATE_DIRS = (
61 # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
62 # Always use forward slashes, even on Windows.
63 # Don't forget to use absolute paths, not relative paths.
64 PROJECT_PATH + "/templates/",
67 INSTALLED_APPS = (
68 'django.contrib.auth',
69 'django.contrib.contenttypes',
70 'django.contrib.sessions',
71 'django.contrib.sites',
72 'django.contrib.admin',
73 'irclog.log',