Now I'm not sure if this is a bug worth squashing or more a case of if
you're dumb, you deserve what you get but ... I erroneously extended a
template with itself (it was a typo, that's how I stumbled upon it).
So say you have a template called home.html and had the following in
it:

{% extends 'home.html' %}

This causes infinite recursion as
django.template.loader_tag.ExtendsNode.get_parent is repeatedly called
until Python says that's enough, and crashes. This also happens if
template A extends template B and  template B extends  template A.

Again, these two scenarios make no sense at all and don't represent
logical use cases. I'm just wondering if it's something we want to
address?

- Martin
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to