Opened 18 years ago
Closed 17 years ago
#3073 closed defect (invalid)
[patch] Fix invalid 'action' on form in add_user.html
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | contrib.admin | Version: | |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Current view doesn't seem to be sending in a form_url value to the context for add_form.html, which extends change_user.html
This is causing the action to show up as [TEMPLATE_ERROR] - this patch merely adds a line setting 'form_url' to '.' which appears to solve the issue.
Attachments (1)
Change History (4)
by , 18 years ago
Attachment: | auth-add-user-action.patch added |
---|
follow-up: 3 comment:1 by , 18 years ago
comment:2 by , 18 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:3 by , 17 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Replying to Collin:
A valid point was just made in IRC - this only presents itself if you're using TEMPLATE_STRING_IF_INVALID
Since use of TEMPLATE_STRING_IF_INVALID
is highly discouraged and that setting is known to break bits of the admin unless you only use it for isolated debugging, and since the admin is being rewritten anyway, I'm inclined to mark this invalid.
A valid point was just made in IRC - this only presents itself if you're using TEMPLATE_STRING_IF_INVALID