boxed / django-fastdev

An app to make it safer, faster and more fun to develop in Django
BSD 3-Clause "New" or "Revised" License
156 stars 13 forks source link

Use hasattr(x, 'child_nodelists') to generalize nodelist search #50

Closed patknight closed 1 month ago

patknight commented 1 month ago

A more comprehensive fix for issue 47: Use hasattr(x, 'child_nodelists') to generalize the search for block definitions. To paraphrase a comment in the Django source "does x quack like a nodelilst owner?"

boxed commented 1 month ago

Thanks!