Changes between Initial Version and Version 1 of Ticket #34066
- Timestamp:
- Sep 30, 2022, 3:51:52 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34066 – Description
initial v1 30 30 31 31 This 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 33 I've opened a pull request on GitHub for this Ticket, please see: 34 https://github.com/django/django/pull/16139