Opened 11 years ago

Closed 11 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


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@…> 11 years ago.

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by james Turnbull <james@…>

Attachment: auth.admin.diff added

comment:1 Changed 11 years ago by Brian Rosner

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