Skip to content

Instantly share code, notes, and snippets.

@jaychoo
Created October 13, 2011 19:29
Show Gist options
  • Save jaychoo/1285257 to your computer and use it in GitHub Desktop.
Save jaychoo/1285257 to your computer and use it in GitHub Desktop.
Django settings
import os
PROJECT_ROOT = os.path.dirname(os.path.realpath(__file__))
TEMPLATE_DIRS = (
os.path.join(PROJECT_ROOT, 'templates'),
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment