#26502: Lookup of attribute 'id' on model inheritance models in InlineModelAdmin
fails when using fk_name of parent model
-------------------------------------+-------------------------------------
     Reporter:  Braintelligence      |                    Owner:  nobody
         Type:  Uncategorized        |                   Status:  closed
    Component:  Forms                |                  Version:  1.8
     Severity:  Normal               |               Resolution:  invalid
     Keywords:  id, model            |             Triage Stage:
  inheritance, inherited model,      |  Unreviewed
  inline                             |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Braintelligence):

 I changed the Inline class to reflect what I'm talking about.
 The person_ptr field is not displayed in the admin form as a
 readonly_field as well.

 And even though it may not be a field that you are able to edit, using it
 as readonly_field and not being able to see it is, from my point of view,
 either a bug or doesn't follow the intuitive logic.

--
Ticket URL: <https://code.djangoproject.com/ticket/26502#comment:12>
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/073.73486b2d3dcb72fd8df207a297db0fc3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to