Skip to content

Instantly share code, notes, and snippets.

@sweemeng
Created April 23, 2010 05:03
Show Gist options
  • Save sweemeng/376203 to your computer and use it in GitHub Desktop.
Save sweemeng/376203 to your computer and use it in GitHub Desktop.
import os
from os.path import abspath,dirname
THIS_DIR = dirname(__file__)
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.
abspath(THIS_DIR+"/../template")
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment