Skip to content

Instantly share code, notes, and snippets.

/settings.py Secret

Created March 16, 2012 17:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/f2b1056d9453481abe7b to your computer and use it in GitHub Desktop.
Save anonymous/f2b1056d9453481abe7b to your computer and use it in GitHub Desktop.
PROJECT_ROOT = os.path.dirname(os.path.realpath(__file__))
TEMPLATE_LOADERS = (
'django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader',
)
TEMPLATE_DIRS = (
os.path.join(PROJECT_ROOT, 'templates')
)
### Fies
# settings.py
# templates
# `- admin
# `- base_site.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment