Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Order field is not hidden in admin change when using django-modeltranslation #415

Open
adi- opened this issue Jan 13, 2025 · 0 comments
Open

Comments

@adi-
Copy link

adi- commented Jan 13, 2025

Order field is visible when:

@admin.register(BlockDiagramCategory)
class BlockDiagramCategoryAdmin(SortableAdminMixin, TabbedTranslationAdmin, admin.ModelAdmin):
    list_display = ('name',)

Order field is hidden (as it should be) when:

@admin.register(BlockDiagramCategory)
class BlockDiagramCategoryAdmin(SortableAdminMixin, admin.ModelAdmin):
    list_display = ('name',)

I assume, that those two applications work on model fields making them hidden, which generates those problems. One of them probably overwrites the data.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant