Changes between Initial Version and Version 2 of Ticket #6691


Ignore:
Timestamp:
Jun 23, 2008, 12:44:53 PM (17 years ago)
Author:
Ramiro Morales
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6691

    • Property Cc jefferya@… added
  • Ticket #6691 – Description

    initial v2  
    33This patch follows our (very) small discussion on mailing list: http://groups.google.ru/group/django-developers/browse_thread/thread/5e54ab5cac98da90?hl=en
    44
    5 1. First find_template_source() which uses settings.TEMPLATE_LOADERS
    6 to actually load template
    7 2. get_template_from_string() which is essentially a factory function
    8 for Template objects
     5 1. First find_template_source() which uses settings.TEMPLATE_LOADERS to actually load template
     6 2. get_template_from_string() which is essentially a factory function for Template objects
    97
    108I modified django.template.loader.find_template_source() function and renamed it to find_template() to check if return value of template loader is a tuple - if it's a tuple than standard it proceeds with standard template loading process:
Back to Top