|
|
@ -1,5 +1,8 @@ |
|
|
|
# Django settings for web project. |
|
|
|
# Django settings for web project. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import os |
|
|
|
|
|
|
|
PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__)) |
|
|
|
|
|
|
|
|
|
|
|
DEBUG = True |
|
|
|
DEBUG = True |
|
|
|
TEMPLATE_DEBUG = DEBUG |
|
|
|
TEMPLATE_DEBUG = DEBUG |
|
|
|
|
|
|
|
|
|
|
@ -81,6 +84,7 @@ TEMPLATE_DIRS = ( |
|
|
|
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates". |
|
|
|
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates". |
|
|
|
# Always use forward slashes, even on Windows. |
|
|
|
# Always use forward slashes, even on Windows. |
|
|
|
# Don't forget to use absolute paths, not relative paths. |
|
|
|
# Don't forget to use absolute paths, not relative paths. |
|
|
|
|
|
|
|
os.path.join(PROJECT_ROOT, 'templates/'), |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
INSTALLED_APPS = ( |
|
|
|
INSTALLED_APPS = ( |
|
|
|