mixxorz / slippers

A UI component framework for Django. Built on top of Django Template Language.
https://mitchel.me/slippers/
MIT License
506 stars 37 forks source link

Inline component defines nodelist as None #48

Closed topher235 closed 1 year ago

topher235 commented 1 year ago

The nodelist being defined as None for inline components is causing some incompatibility issues with other libraries, e.g. django-render-block, because they can't iterate over None. I think the value set should be an empty list or NodeList.

https://github.com/mixxorz/slippers/blob/0ce084f11a33c01d3264a81e8ead3f06aedf4b2c/slippers/templatetags/slippers.py#L29

mixxorz commented 1 year ago

Fixed by #49