django-nested-inline
django-nested-inline copied to clipboard
Update .field-box => .fieldBox
The admin CSS class field-box is renamed to fieldBox to prevent conflicts with the class given to model fields named “box”.
https://docs.djangoproject.com/en/3.0/releases/2.1/#miscellaneous
How does this affect Django versions before 2.1?
I assume it won't work, as in regression and result in no style applied (using whatever the default was)
I would vote for doing the change and losing compatibility for django <2.1 in a new version, personally.
Otherwise the only way to make this work for both would to be duplicate the style and keep the field-box, but as django realised, this is not the best way since it could be applied to a field called 'box' (hence why it was renamed)
I've created an alternative PR that only adds the style, rather than just updating it (to keep backward compatibility): https://github.com/s-block/django-nested-inline/pull/114 Feel free to decide which one is best, and close the other one.
Any updates?