Documentation misspelling - Django 3 - maybe

25 views
Skip to first unread message

Norbert Rácz

unread,
Mar 4, 2020, 12:19:39 PM3/4/20
to Django users
Here: https://docs.djangoproject.com/en/3.0/topics/auth/default/#django.contrib.auth.views.PasswordChangeView

This line: template_name: The full name of a template to use for displaying the password change form. Defaults to registration/password_change_form.html if not supplied. 

The "password_change_form.html" not workinkng for me, but "password_change.html" is ok, when I want to made a costum template. I think it was working at Django 2 with "_form". What you think? I'm right? And where can I report that?


Andréas Kühne

unread,
Mar 5, 2020, 6:02:58 PM3/5/20
to django...@googlegroups.com
If you check the code for the PasswordChangeView, the default template is 'registration/password_change_form.html'. So you are incorrect.

Regards,

Andréas


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/fc1f10af-efd6-487c-9777-4cd486b5186a%40googlegroups.com.

Norbert Rácz

unread,
Mar 6, 2020, 3:36:10 AM3/6/20
to Django users
You're right. And I don't know what I saw, but now it isn't working either way.


2020. március 6., péntek 0:02:58 UTC+1 időpontban Andréas Kühne a következőt írta:
If you check the code for the PasswordChangeView, the default template is 'registration/password_change_form.html'. So you are incorrect.

Regards,

Andréas


Den ons 4 mars 2020 kl 18:19 skrev Norbert Rácz <sfnorb...@gmail.com>:
Here: https://docs.djangoproject.com/en/3.0/topics/auth/default/#django.contrib.auth.views.PasswordChangeView

This line: template_name: The full name of a template to use for displaying the password change form. Defaults to registration/password_change_form.html if not supplied. 

The "password_change_form.html" not workinkng for me, but "password_change.html" is ok, when I want to made a costum template. I think it was working at Django 2 with "_form". What you think? I'm right? And where can I report that?


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages