Guest User

Untitled

a guest
Oct 19th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. PROJECT_DIR = os.path.dirname(__file__)
  2.  
  3. # List of callables that know how to import templates from various sources.
  4. TEMPLATE_LOADERS = (
  5. 'django.template.loaders.filesystem.Loader',
  6. 'django.template.loaders.app_directories.Loader',
  7. # 'django.template.loaders.eggs.Loader',
  8. )
  9.  
  10.  
  11. TEMPLATE_DIRS = (
  12. # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
  13. # Always use forward slashes, even on Windows.
  14. # Don't forget to use absolute paths, not relative paths.
  15. os.path.join(PROJECT_DIR, 'templates'),
  16. )
Add Comment
Please, Sign In to add comment