Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#6930 closed (fixed)

Inline extra = 0 raises undefined error

Reported by: Jurian Botha <jurianbotha@…> Owned by: nobody
Component: contrib.admin Version: newforms-admin
Severity: Keywords: inline admin Media
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

When an the 'extra' property of an Inline admin object is set to 0 the following error is raised:

global name 'Media' is not defined

Change History (4)

comment:1 Changed 7 years ago by Jurian Botha <jurianbotha@…>

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Summary changed from Inline extra = 0 = undefined error to Inline extra = 0 raises undefined error

comment:2 Changed 7 years ago by hambaloney

Note, this error only occurs if there are no inlined objects (e.g. adding a new object).

comment:3 Changed 7 years ago by brosner

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

(In [7393]) newforms-admin: Fixed #6390 -- Added a missing import in django/newforms/formsets.py. Thanks, Jurian Botha.

comment:4 Changed 7 years ago by brosner

That ticket number in the changeset message is incorrect, FYI.

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