Skip to content

Instantly share code, notes, and snippets.

@wraithan
Created December 6, 2011 04:04
Show Gist options
  • Select an option

  • Save wraithan/1436674 to your computer and use it in GitHub Desktop.

Select an option

Save wraithan/1436674 to your computer and use it in GitHub Desktop.
import os
SITE_ROOT = os.path.abspath(os.path.join(os.path.dirname(os.path.realpath(__file__)), '..'))
TEMPLATE_DIRS = (
os.path.join(SITE_ROOT, 'templates'),
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment