#15602: Using get_readonly_fields and StackedInline/TabularInline admin objects
doesn't allow creating new objects, immutible existing objects
---------------------------------+------------------------------------
Reporter: bradwhittington | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+------------------------------------
Comment (by John Baker):
This issue is also affecting my current project. I expected `obj` within
`get_readonly_fields()` to be the inline instance, and not the parent.
I have a simplified permissions system that does not check per object
permissions, and cannot implement the workaround Carlton suggested.
--
Ticket URL: <https://code.djangoproject.com/ticket/15602#comment:24>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/073.29255f543948f3aa31e5051d13318c07%40djangoproject.com.