#31593: Replace hardcoded path to PasswordChangeView in UserChangeForm with 
reverse
of its URL
-------------------------------------+-------------------------------------
     Reporter:  Denis                |                    Owner:  Denis
         Type:                       |                   Status:  assigned
  Cleanup/optimization               |
    Component:  Forms                |                  Version:  3.0
     Severity:  Normal               |               Resolution:
     Keywords:  user, password,      |             Triage Stage:
  form, UserChangeForm               |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Denis):

 * owner:  nobody => Denis
 * status:  new => assigned


Comment:

 It's my first ticket and fix.

 I have fixed it locally and it works fine:
 {{{
 from django.urls import reverse
 ***
 password.help_text = password.help_text.format(reverse('password_change'))
 }}}

 Is it **trivial** or requires a patch?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31593#comment:1>
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/063.023fa36f3b332ef22815c0011fd6f765%40djangoproject.com.

Reply via email to