How to Generate Password Reset Email in Django 1/2 (Django Tutorial) | Part 21

preview_player
Показать описание
Enjoyed my video? Leave a like!
Рекомендации по теме
Комментарии
Автор

If you still get the Reverse for 'password_reset_done' not found error, replace "password_reset" with "PasswordResetView.as_view()" and "password_reset_done" with Since Max made his (excellent) video, Django has changed things.

ericvaninwegen
Автор

Solve error: ImportError: cannot import name 'password_reset'
Write the code to solve:
from django.contrib.auth.views import PasswordResetView
url('reset-password/', PasswordResetView.as_view(), name='reset_password'),

SMARTPALASH
Автор

Fixed the problem by doing this whole part in the main app instead of accounts

migs_dotcom
Автор

Hi Max, I'm Luân. I come from VietNam. I have a problem about rest password. I try to include
url(r'^rest-password/$', password_reset, name="rest_password"),
url(r'^rest-password/done/$', password_reset_done, name="password_reset_done"), but I have a error: Reverse for 'password_reset_done' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []. Thanks.

vuluanoan
Автор

I am getting Reverse for 'password_reset_confirm' not found. 'password_reset_confirm' is not a valid view function or pattern name.' anyone has any clue?

prem
Автор

Sorry, i got error "Reverse for 'password_reset_confirm' with arguments '()' and keyword arguments '{u'uidb64': 'MQ', u'token': u'4km-404d5538b388a35ec7f4'}' not found. 0 pattern(s) tried: []"

kurdiansyahlesmana
Автор

I use django 2.1, and I use PasswordResetView and PasswordResetDoneView, but a error happens, "__init__() takes 1 positional argument but 2 were given", anyone can help me?

joaovitordossantos
Автор

what is the workflow when user is customized using AbstractUser or AbstractBaseUser? reset-password not rendering!

onlinetimenow
Автор

thank you. Your courses are better than the Lynda courses I attempted to do. You explain yourself well. I tried to learn myself from the documentation and asking questions on stackoverflow too. But stackoverflow people hate newbs. You gotta either be really apologetic for your lack of knowledge or an intermediate.

samyoe
Автор

After writing
url(r'^reset-password/done/$', password_reset_done, name='password_reset_done'),
I got,
NoReverseMatch at /account/reset-password/
Reverse for 'password_reset_done' not found. 'password_reset_done' is not a valid view function or pattern name. again ....why?

avijeetkarmaker
Автор

i still get exception "
Reverse for 'password_reset_done' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []

mohammadsaqib
Автор

Can you help us how to user docker properly with Django project ? Thanks.

sushichanel
Автор

Great job bro.... Will u plz make a video on "reset email by user in django"
Thank you... Your videos are truly

bhupeshmahakhuda
Автор

please how do i allow users send messages to each other on django

skipmonday
Автор

if you do pip install django now, i.e (August of 2018 onwards) you gonna install django 2.1+, And sadly login, logout, password_reset and few other views from the django.contrib.auth.views are deprecated and removed. So you have to follow the documentation in order to comply with the new standards.
Or you can just force pip to install django 1.9 where it still has those functionalities.

Thanks !

vineethsai
Автор

#I cannot change my password. It gives me this error. 'PasswordChangeForm' object has no attribute 'cleaned_data'

jeansuarez
Автор

Hi Max, I follow you very nicely and everything worked fine. Surprisingly password_reset_done started giving a reverse error. It drive me crazy. Help me please.

TheObmen
Автор

can u made a tutorial to how to generate a custom html for reset password?

twenty_amv