Changes between Initial Version and Version 2 of Ticket #6691
- Timestamp:
- Jun 23, 2008, 12:44:53 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #6691
- Property Cc added
-
Ticket #6691 – Description
initial v2 3 3 This patch follows our (very) small discussion on mailing list: http://groups.google.ru/group/django-developers/browse_thread/thread/5e54ab5cac98da90?hl=en 4 4 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 9 7 10 8 I 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: