#25248: Incorrect readonly_fields representation for some fields
-------------------------------+------------------------------------
Reporter: vmspike | Owner: nobody
Type: New feature | Status: closed
Component: contrib.admin | Version: master
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by vmspike):
* status: new => closed
* resolution: => invalid
Comment:
Sorry for premature ticket creation, seems all is fine on django side.
Firstly it was error in django-money side when it's incorrectly override
`django.contrib.admin.utils.AdminReadonlyField.contents` method in
`djmoney/__init__.py` (seems it was old version of the method historically
remains).
Secondly I'm using incorrect translation some real fields to virtual.
Django's `display_for_field()` do their job fine.
--
Ticket URL: <https://code.djangoproject.com/ticket/25248#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.41bc33415423cfcefa1b46b4dc6d2343%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.