Opened 16 years ago
Closed 16 years ago
#11176 closed (duplicate)
add user brocken, if TEMPLATE_STRING_IF_INVALID != ""
Reported by: | jedie | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
In the django admin panel is the "add user" view broken, if settings.TEMPLATE_STRING_IF_INVALID is not empty.
The view used template admin/auth/user/add_form.html this file used {% extends "admin/change_form.html" %} In this file the form would be insert with:
<form ... action="{{ form_url }}" method="post"...
The view django.contrib.auth.admin.UserAdmin.add_view() doesn't insert "form_url" into the template context.
Note:
See TracTickets
for help on using tickets.
Sorry, dup of #9051, #5532, #4279, and #3579