Opened 15 years ago

Closed 15 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.

Change History (1)

comment:1 by jedie, 15 years ago

Resolution: duplicate
Status: newclosed

Sorry, dup of #9051, #5532, #4279, and #3579

Note: See TracTickets for help on using tickets.
Back to Top