Opened 17 years ago

Closed 17 years ago

Last modified 17 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 by Jurian Botha <jurianbotha@…>, 17 years ago

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

comment:2 by hambaloney, 17 years ago

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

comment:3 by Brian Rosner, 17 years ago

Resolution: fixed
Status: newclosed

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

comment:4 by Brian Rosner, 17 years ago

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

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