On Wed, Apr 21, 2010 at 2:09 PM, Paweł Roman <romapa...@googlemail.com>wrote:
> I think I've found a bug in django.template.defaulttags.py > > get_nodes_by_type() is not implemented for IfEqualNode class. It seems > like it should be implemented the same way as in IfNode. > > [snip] > I'm almost sure this missing implementation is a bug and I'm curious > how this got unnoticed. Seems like this get_nodes_by_type() function > is never used internally? I've found it only because I needed to do > some extra validations on the template structure after it is compiled. > I'm using django 1.0 but I've checked that in 1.2 it's the same. > 1.2 does not exist yet so I'm not sure what you mean when you say you checked there. Current SVN is certainly different from 1.0 and 1.1 in this area, see changeset 12654: http://code.djangoproject.com/changeset/12654 Does that change fix the problem you are referring to here? Karen -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.