1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-01-22 12:34:17 +00:00

settings.py: add some templates into TEMPLATE_DIRS

This commit is contained in:
Hidden Z 2010-10-06 19:02:08 +00:00
parent 99e607fd1b
commit 6e9dd89fc0

View File

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