9 |
9 |
10 MANAGERS = ADMINS |
10 MANAGERS = ADMINS |
11 |
11 |
12 DATABASES = { |
12 DATABASES = { |
13 'default': { |
13 'default': { |
14 'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. |
14 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. |
15 'NAME': '', # Or path to database file if using sqlite3. |
15 'NAME': './pytask', # Or path to database file if using sqlite3. |
16 'USER': '', # Not used with sqlite3. |
16 'USER': '', # Not used with sqlite3. |
17 'PASSWORD': '', # Not used with sqlite3. |
17 'PASSWORD': '', # Not used with sqlite3. |
18 'HOST': '', # Set to empty string for localhost. Not used with sqlite3. |
18 'HOST': '', # Set to empty string for localhost. Not used with sqlite3. |
19 'PORT': '', # Set to empty string for default. Not used with sqlite3. |
19 'PORT': '', # Set to empty string for default. Not used with sqlite3. |
20 } |
20 } |
43 # calendars according to the current locale |
43 # calendars according to the current locale |
44 USE_L10N = True |
44 USE_L10N = True |
45 |
45 |
46 # Absolute filesystem path to the directory that will hold user-uploaded files. |
46 # Absolute filesystem path to the directory that will hold user-uploaded files. |
47 # Example: "/home/media/media.lawrence.com/" |
47 # Example: "/home/media/media.lawrence.com/" |
48 MEDIA_ROOT = '' |
48 MEDIA_ROOT = './media/' |
49 |
49 |
50 # URL that handles the media served from MEDIA_ROOT. Make sure to use a |
50 # URL that handles the media served from MEDIA_ROOT. Make sure to use a |
51 # trailing slash if there is a path component (optional in other cases). |
51 # trailing slash if there is a path component (optional in other cases). |
52 # Examples: "http://media.lawrence.com", "http://example.com/media/" |
52 # Examples: "http://media.lawrence.com", "http://example.com/media/" |
53 MEDIA_URL = '' |
53 MEDIA_URL = '/media/' |
54 |
54 |
55 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a |
55 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a |
56 # trailing slash. |
56 # trailing slash. |
57 # Examples: "http://foo.com/media/", "/media/". |
57 # Examples: "http://foo.com/media/", "/media/". |
58 ADMIN_MEDIA_PREFIX = '/media/' |
58 ADMIN_MEDIA_PREFIX = '/media/' |
79 |
79 |
80 TEMPLATE_DIRS = ( |
80 TEMPLATE_DIRS = ( |
81 # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates". |
81 # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates". |
82 # Always use forward slashes, even on Windows. |
82 # Always use forward slashes, even on Windows. |
83 # Don't forget to use absolute paths, not relative paths. |
83 # Don't forget to use absolute paths, not relative paths. |
|
84 './templates', |
84 ) |
85 ) |
85 |
86 |
86 INSTALLED_APPS = ( |
87 INSTALLED_APPS = ( |
87 'django.contrib.auth', |
88 'django.contrib.auth', |
88 'django.contrib.contenttypes', |
89 'django.contrib.contenttypes', |
89 'django.contrib.sessions', |
90 'django.contrib.sessions', |
90 'django.contrib.sites', |
91 'django.contrib.sites', |
91 'django.contrib.messages', |
92 'django.contrib.messages', |
|
93 'registration', |
|
94 'tagging', |
92 # Uncomment the next line to enable the admin: |
95 # Uncomment the next line to enable the admin: |
93 # 'django.contrib.admin', |
96 # 'django.contrib.admin', |
94 # Uncomment the next line to enable admin documentation: |
97 # Uncomment the next line to enable admin documentation: |
95 # 'django.contrib.admindocs', |
98 # 'django.contrib.admindocs', |
96 ) |
99 ) |