#13696: Admin Edit Inline templates don' t output hidden field for PK when it
isn't
an autoField and has editable=False
----------------------------------+------------------------------------
Reporter: evan.reiser@… | Owner: dArignac
Type: Bug | Status: new
Component: contrib.admin | Version: 1.2
Severity: Normal | Resolution:
Keywords: inline templates | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
----------------------------------+------------------------------------
Comment (by kmtracey):
Pull request with slightly altered fix:
https://github.com/django/django/pull/1381
The proposed fix duplicated the pk field on the inlines if there was a
non-auto EDITABLE pk field already rendered. The pull request tests for
that (previous fix would fail that test) in addition to testing for the
non-auto non-editable pk.
--
Ticket URL: <https://code.djangoproject.com/ticket/13696#comment:22>
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/079.51bcb73d4da78ced62fd6d1c19e31970%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.