Code

Changes between Initial Version and Version 1 of Ticket #17199, comment 8


Ignore:
Timestamp:
03/18/13 02:05:49 (16 months ago)
Author:
aaugustin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17199, comment 8

    initial v1  
    1 #16096 (filed by a core dev) suggests that ``origin`` is purely for debug puposes. That would explain why it's set only when the template isn't found and when ``TEMPLATE_DEBUG = True``. 
     1#16096 (filed by a core dev) suggests that `origin` is purely for debug puposes. That would explain why it's set only when the template isn't found and when `TEMPLATE_DEBUG = True`. 
    22 
    3 As far as I can tell, you're trying to use the ``origin`` returned by ``BaseLoader.find_template()`` for much more than its purpose. 
     3As far as I can tell, you're trying to use the `origin` returned by `BaseLoader.find_template()` for much more than its purpose. 
    44 
    55Wouldn't #16096 be a much more simple solution for the problem you're trying to solve?