def get_readonly_fields(self, request, obj=None):
        return self.replace_orig_field(self.readonly_fields)
Hook to specify custom readonly fields.
dataset/ETHPy150Open deschler/django-modeltranslation/modeltranslation/admin.py/TranslationBaseModelAdmin.get_readonly_fields