Documentation update.

New generic way to specify templates directory (no more hard coded absolute path).
This commit is contained in:
tonio
2009-10-29 09:56:52 +01:00
parent a10f7a616f
commit 54ba7ed40e
2 changed files with 7 additions and 0 deletions
+5
View File
@@ -324,6 +324,11 @@ DB_CONNECTIONS variable like this::
Replace values between <> with yours.
Finally, create a symbolic link to the templates directory inside the
main templates directory::
# ln -s extensions/amavis_quarantine/templates templates/amavis_quarantine
To be able to release messages, first take a look at this page::
http://www.ijs.si/software/amavisd/amavisd-new-docs.html#quar-release
+2
View File
@@ -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 = (