#12628: readonly_fields in GenericInlineModelAdmin are ignored during save
--------------------------------------+-------------------------------------
Reporter: yedpodtrzitko | Owner: nobody
Status: new | Milestone:
Component: django.contrib.admin | Version:
Keywords: readonly_fields, generic | Stage: Unreviewed
Has_patch: 1 |
--------------------------------------+-------------------------------------
Fields defined in readonly_fields property in GenericStackedInline class
are properly displayed as readonly elements. But during save is
readonly_fields property ignored, so all values for those fields are saved
with empty value.
Note to attached patch:
Fields in 'exclude' properly are handled properly, so I joined them
together with readonly_fields.
--
Ticket URL: <http://code.djangoproject.com/ticket/12628>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.