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
The problem is when I use django-admin-sortable2 app with django-modeltranslation. In normal use django-admin-sortable2 makes order field invisible in admin change view. But, when I add django-modeltranslation admin mixin this field is shown in edit view.
The text was updated successfully, but these errors were encountered:
Please take a look at the source code of SortableAdminMixin, and see how it's hiding fields.
Maybe you should switch order in which you're inheriting classes?
If that doesn't help - add new test to TranslationAdminTest checking for expected fields, then try inspecting code with pdb somewhere in SortableAdminMixin or TabbedTranslationAdmin to pinpoint the issue.
Report your findings here, and we'll think how this can be resolved.
As described on jrief/django-admin-sortable2#415 I assume that (but not sure) django-modeltranslation could overwrite hidden fields used by other apps.
The problem is when I use django-admin-sortable2 app with django-modeltranslation. In normal use django-admin-sortable2 makes
order
field invisible in admin change view. But, when I add django-modeltranslation admin mixin this field is shown in edit view.The text was updated successfully, but these errors were encountered: