Opened 16 years ago

Closed 16 years ago

#7410 closed (fixed)

[newforms-admin] KeyError when adding new auth model (context['save_as'])

Reported by: james Turnbull <james@…> Owned by: nobody
Component: contrib.admin Version: newforms-admin
Severity: Keywords: admin, save_as
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Since [7603] attempting to add a new auth model (either User or Group) results in a KeyError, as the context does not have 'save_as' defined.

Attached patch adds save_as to the context for auth models.

Attachments (1)

auth.admin.diff (516 bytes ) - added by james Turnbull <james@…> 16 years ago.

Download all attachments as: .zip

Change History (2)

by james Turnbull <james@…>, 16 years ago

Attachment: auth.admin.diff added

comment:1 by Brian Rosner, 16 years ago

Resolution: fixed
Status: newclosed

(In [7610]) newforms-admin: Fixed #7410 -- Added save_as to the context of a couple auth views. Thanks James Turnbull.

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