On Feb 27, 3:06 am, Russell Keith-Magee <freakboy3...@gmail.com> wrote: > I'm a little confused by this ticket. > > The original report was about something that is clearly a bug -- the > inconsistency between block handling for {% if %} and {% ifequal %}. > I'm 100% in agreement that this inconsistency should be fixed. > > The thing is - it has been. The tests in the patch on #6510 all pass > on current trunk. The refactoring that was required for template > caching has evidently cleaned up this issue - at least enough to > correct the original test case.
Yes, the recent changes with BlockContext have hidden the error from the testcases (and even my old test cases in the initial patch). The inconsistency is still there -- and also a problem for {% ifchanged %} I just noticed. I have uploaded a new patch with a much simpler test case testing for the underlying problem across all tags which have nodelist attributes named something other than the standard "nodelist". -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.