On 05/24/2011 11:53 AM, Jeremy Dunck wrote: > I was wondering how people would feel about template origin being an > attribute of the Template instance. > > The point to me would be to make it easier to see which location a > template is coming from; I think the compile_string func could do it-- > after constructing the template, the loader would annotate with > origin. > > It seems obviously useful, so I think there must be a good reason it > wasn't already done. :)
Looking at the code only briefly, it seems pretty reasonable to me. Carl -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.
