The Artima Developer Community
Sponsored Link

Python Buzz Forum
Writing your own template loaders

0 replies.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a flat view of this topic  Flat View
Previous Topic   Next Topic
Threaded View: This topic has 0 replies on 1 page
Shabda Raaj

Posts: 72
Nickname: shabda
Registered: Jul, 2007

Shabda Raaj is Owner of Usware Technologies, a Django Development Company.
Writing your own template loaders Posted: Nov 21, 2009 4:03 AM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Shabda Raaj.
Original Post: Writing your own template loaders
Feed Title: The Uswaretech Blog - Django/Python Web Development
Feed URL: http://feeds.feedburner.com/UswareBlog
Feed Description: Blog about building web applications using Django/Python/Jquery.
Latest Python Buzz Posts
Latest Python Buzz Posts by Shabda Raaj
Latest Posts From The Uswaretech Blog - Django/Python Web Development

Django has three builtin template loaders which are used to get the templates for rendering. TEMPLATE_LOADERS = ( 'django.template.loaders.filesystem.load_template_source', 'django.template.loaders.app_directories.load_template_source', # 'django.template.loaders.eggs.load_template_source', ) Writing your template loader is a awfuly easy. It is a callable which Returns a tuple of (openfile, filename) if it can find the template. Raise TemplateDoesNotExist if [...] Related posts:
  1. A response to Dropping Django

Read: Writing your own template loaders


Topic: Writing your own template loaders Previous Topic   Next Topic Topic: User Scripts (Chromium Developer Documentation)

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use