Opened 7 years ago

Closed 7 years ago

Last modified 5 years ago

#10622 closed (fixed)

List editable breaks with model inheritance

Reported by: oyvind Owned by: nobody
Component: contrib.admin Version: master
Severity: Keywords: list_editable inheritance
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


I register a model in the adminsite that is inherited from another model with list_editable on some fields, then add a entry. When I am redirected to the change_list I get a traceback about a missing field in the form. - traceback - example app

Attachments (2)

inheritance-changelist.diff (4.4 KB) - added by Alex 7 years ago.
inheritance-changelist.2.diff (4.4 KB) - added by Alex 7 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 7 years ago by julien

  • milestone set to 1.1
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 7 years ago by oyvind

In file /home/oyvind/code/django/contrib/admin/templatetags/

line 240, in items_for_result

    yield mark_safe(force_unicode(form[]))

Changed to

    yield mark_safe(force_unicode(form[]))

name is used here:

Changed 7 years ago by Alex

comment:3 Changed 7 years ago by Alex

  • Has patch set
  • Triage Stage changed from Unreviewed to Accepted

Changed 7 years ago by Alex

comment:4 Changed 7 years ago by Alex

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in #10178

comment:5 Changed 5 years ago by jacob

  • milestone 1.1 deleted

Milestone 1.1 deleted

Note: See TracTickets for help on using tickets.
Back to Top