Opened 17 years ago
Closed 17 years ago
#7410 closed (fixed)
[newforms-admin] KeyError when adding new auth model (context['save_as'])
| Reported by: | 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)
Change History (2)
by , 17 years ago
| Attachment: | auth.admin.diff added |
|---|
comment:1 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [7610]) newforms-admin: Fixed #7410 -- Added save_as to the context of a couple auth views. Thanks James Turnbull.