django-modeltranslation icon indicating copy to clipboard operation
django-modeltranslation copied to clipboard

Support readonly_fields in tabbed translation admin

Open deschler opened this issue 12 years ago • 1 comments

Add support for readonly_fields in tabbed translation fields.

This turns out to be not as easy as it sounds. ModelAdmin doesn't render readonly fields as form fields. As tabbed_translation_fields.js is based on gathering the form field name attributes and the custom css classes added by TranslationAdmin.patch_translation_field, the readonly fields aren't taken into account.

First attempts where made in the tabbed-readonly-fields branch, but these are unlikely to get merged into master. Too much hackery involved.

deschler avatar Feb 17 '13 20:02 deschler

Anyone wants to attempt a new approach to this problem !?

ppython avatar Mar 30 '17 17:03 ppython