Skip to content

Instantly share code, notes, and snippets.

@Gunio
Created October 18, 2011 19:25
Show Gist options
  • Save Gunio/1296428 to your computer and use it in GitHub Desktop.
Save Gunio/1296428 to your computer and use it in GitHub Desktop.
Django Relative Template Directory
import os
TEMPLATE_DIRS = (
os.path.join(os.path.dirname(__file__), 'templates'),
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment