Opened 15 years ago

Closed 15 years ago

Last modified 15 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: no UI/UX: no

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 15 years ago by Jurian Botha <jurianbotha@…>

Summary: Inline extra = 0 = undefined errorInline extra = 0 raises undefined error

comment:2 Changed 15 years ago by hambaloney

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

comment:3 Changed 15 years ago by Brian Rosner

Resolution: fixed
Status: newclosed

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

comment:4 Changed 15 years ago by Brian Rosner

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

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