Code

Opened 6 years ago

Closed 6 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:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:

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

Download all attachments as: .zip

Change History (2)

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

comment:1 Changed 6 years ago by brosner

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

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.