Django

Code

Ticket #7410 (closed: fixed)

Opened 6 months ago

Last modified 6 months ago

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

Reported by: james Turnbull <james@incuna.com> Assigned to: nobody
Milestone: Component: django.contrib.admin
Version: newforms-admin Keywords: admin, save_as
Cc: Triage Stage: Unreviewed
Has patch: 1 Needs documentation:
Needs tests: Patch needs improvement:

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

auth.admin.diff (0.5 kB) - added by james Turnbull <james@incuna.com> on 06/10/08 09:34:03.

Change History

06/10/08 09:34:03 changed by james Turnbull <james@incuna.com>

  • attachment auth.admin.diff added.

06/10/08 10:17:32 changed by brosner

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #7410 ([newforms-admin] KeyError when adding new auth model (context['save_as']))




Change Properties
Action