I am unable to hash my password.

已查看 69 次
跳至第一个未读帖子

Saksham Khanal

未读,
2022年11月2日 10:52:322022/11/2
收件人 Django users
when I try to new register new user form the API,the saved user doesn't have it's password hashed which is creating a problem while logging in.You can see the difference between admin and new_user.To create a user model I have inherited a Abstract user class.You can also check my register serializer
Django_group.pngDjango_group1.png
Register serializer.py

Hubert Kanyamahanga

未读,
2022年11月2日 11:27:542022/11/2
收件人 django...@googlegroups.com
Hi  Saksham, please let us see your user model.py and views.py.

On Wed, Nov 2, 2022 at 2:52 PM Saksham Khanal <saksham....@gmail.com> wrote:
when I try to new register new user form the API,the saved user doesn't have it's password hashed which is creating a problem while logging in.You can see the difference between admin and new_user.To create a user model I have inherited a Abstract user class.You can also check my register serializer
Django_group.pngDjango_group1.png

--
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/d9adde23-46cd-40bf-babc-ced3d4b9d9ban%40googlegroups.com.

Desh Deepak

未读,
2022年11月2日 13:55:022022/11/2
收件人 django...@googlegroups.com
Use set_password while saving password.

Saksham Khanal

未读,
2022年11月3日 02:36:132022/11/3
收件人 Django users
Here you go
views.py
models.py

subin

未读,
2022年11月3日 15:19:142022/11/3
收件人 django...@googlegroups.com
I will look forward to meeting you on July 11

subin

未读,
2022年11月3日 15:25:132022/11/3
收件人 django...@googlegroups.com
Please let me know if you need to reschedule.

subin

未读,
2022年11月3日 15:40:592022/11/3
收件人 django...@googlegroups.com
Sorry it took me so long to get back to you.

subin

未读,
2022年11月3日 15:42:142022/11/3
收件人 django...@googlegroups.com
Kindly notify me should you need any other information.

On Wed, Nov 2, 2022 at 3:52 PM Saksham Khanal <saksham....@gmail.com> wrote:
when I try to new register new user form the API,the saved user doesn't have it's password hashed which is creating a problem while logging in.You can see the difference between admin and new_user.To create a user model I have inherited a Abstract user class.You can also check my register serializer
Django_group.pngDjango_group1.png

--

ritik sahoo

未读,
2022年11月3日 22:32:162022/11/3
收件人 django...@googlegroups.com
your super_staff is not active (blank=True)

Eshwar pandu

未读,
2023年2月15日 21:48:022023/2/15
收件人 django...@googlegroups.com
回复全部
回复作者
转发
0 个新帖子