#22752: Allow PasswordResetForm email to render URLs based on the current
namespace
-------------------------------------+-------------------------------------
Reporter: Ben Davis | Owner: Hasan
Type: | Ramezani
Cleanup/optimization | Status: assigned
Component: contrib.auth | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):
* needs_better_patch: 1 => 0
* has_patch: 1 => 0
* needs_tests: 1 => 0
* needs_docs: 1 => 0
Comment:
`current_app` is no longer an argument to `render_to_string()` but I think
this would be resolved by passing `request` instead (which can be passed
to `send_mail()` from `save()`). The `url` template tag uses the namespace
of the currently resolved view as the current application in a
`RequestContext`.
--
Ticket URL: <https://code.djangoproject.com/ticket/22752#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/068.ed53ef1f193114b2487e26b037e9bc2f%40djangoproject.com.