mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-20 06:08:35 +02:00
Documentation update.
New generic way to specify templates directory (no more hard coded absolute path).
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
# Django settings for mailng project.
|
||||
import os.path
|
||||
|
||||
DEBUG = False
|
||||
TEMPLATE_DEBUG = DEBUG
|
||||
@@ -71,6 +72,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(os.path.dirname(__file__), 'templates').replace('\\','/'),
|
||||
)
|
||||
|
||||
INSTALLED_APPS = (
|
||||
|
||||
Reference in New Issue
Block a user