#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:  reopened
    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 evan.reiser@…):

 Brianglass: Yes. I agree. It's such an obvious and easy fix, its too bad
 that there is so much bureaucracy around changing it.

 The underlying problem is that the code is assuming you always have
 primary keys named "id" that are auto incrementing, which obviously isn't
 the case.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/13696#comment:19>
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to