You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fields like title and slug are not being patched in wagtail admin page due to django-modeltranslation splitting the fields attribute into local_fields and all_fields.
I've been able to fix this by replacing all instances of translator.get_options_for_model(...).fields into translator.get_options_for_model(...).all_fields
The text was updated successfully, but these errors were encountered:
Hi, should the PR be retrocompatibile with old versions of the library or it just changes all instances of the attribute and add a new minimum version library requirement?
Judging by previous releases, I believe it's fine to just set django-modeltranslation>=0.19. Maybe it's also wise to add an upper bound while you're at it, so that something like this wont happening again in the future.
Fields like
title
andslug
are not being patched in wagtail admin page due to django-modeltranslation splitting thefields
attribute intolocal_fields
andall_fields
.I've been able to fix this by replacing all instances of
translator.get_options_for_model(...).fields
intotranslator.get_options_for_model(...).all_fields
The text was updated successfully, but these errors were encountered: