Changes between Initial Version and Version 1 of Ticket #34066


Ignore:
Timestamp:
Sep 30, 2022, 3:51:52 AM (2 years ago)
Author:
Simon Kern
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34066 – Description

    initial v1  
    3030
    3131This results in the link to the {{{PasswordResetForm}}} being wrong and thus ending up in a 404. If we drop the assumption that UserAdmin is always accessed via its pk, then we're good to go. It's as simple as replacing {{{password.help_text = password.help_text.format("../password/")}}} with {{{password.help_text = password.help_text.format(f"../../{self.instance.pk}/password/")}}}
     32
     33I've opened a pull request on GitHub for this Ticket, please see:
     34https://github.com/django/django/pull/16139
Back to Top