Skip to content

Instantly share code, notes, and snippets.

@simon-johansson
Forked from eknuth/settings.py
Created March 1, 2013 00:40
Show Gist options
  • Save simon-johansson/5061489 to your computer and use it in GitHub Desktop.
Save simon-johansson/5061489 to your computer and use it in GitHub Desktop.
import os
SITE_ROOT = os.path.dirname(os.path.realpath(__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.
os.path.join(SITE_ROOT, 'templates')
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment