Django cradmin 5.2.0 releasenotes¶
What is new?¶
- Rename the
DJANGO_CRADMIN_DEFAULT_EXPANDABLE_CLASSsetting toDJANGO_CRADMIN_DEFAULT_EXPANDABLE_MENU_CLASS. - Improved support for expandable menu outside of a cradmin instance.
- Add support for a default footer rendererable. See
DJANGO_CRADMIN_DEFAULT_FOOTER_CLASS. django_cradmin_styles:- Remove the need for the $footer-height SASS variable. We have wrapped the body content
with a new
fill-viewport-layoutBEM block, which handles footer alignment without the need for knowing the height of the footer. - Handle SVG image sizing correctly in IE 11 in page-header-mixin
__brandimage. - Add two new cricon icons: comment and comments.
- Remove the need for the $footer-height SASS variable. We have wrapped the body content
with a new
- Supports adding extra user attributes before cleaning in
AbstractCreateAccountForm.
Migrate from 5.1.0 to 5.2.0¶
If you set or use the DJANGO_CRADMIN_DEFAULT_EXPANDABLE_CLASS setting, refactor to
to DJANGO_CRADMIN_DEFAULT_EXPANDABLE_MENU_CLASS. Something like this should help you
find ocurrences:
$ git grep DJANGO_CRADMIN_DEFAULT_EXPANDABLE_CLASS -- '*.html' '*.py'