I am unable to hash my password.

69 прегледа
Пређи на прву непрочитану поруку

Saksham Khanal

непрочитано,
2. 11. 2022. 10:52:322.11.22.
– 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

непрочитано,
2. 11. 2022. 11:27:542.11.22.
– 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

непрочитано,
2. 11. 2022. 13:55:022.11.22.
– django...@googlegroups.com
Use set_password while saving password.

Saksham Khanal

непрочитано,
3. 11. 2022. 02:36:133.11.22.
– Django users
Here you go
views.py
models.py

subin

непрочитано,
3. 11. 2022. 15:19:143.11.22.
– django...@googlegroups.com
I will look forward to meeting you on July 11

subin

непрочитано,
3. 11. 2022. 15:25:133.11.22.
– django...@googlegroups.com
Please let me know if you need to reschedule.

subin

непрочитано,
3. 11. 2022. 15:40:593.11.22.
– django...@googlegroups.com
Sorry it took me so long to get back to you.

subin

непрочитано,
3. 11. 2022. 15:42:143.11.22.
– 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

непрочитано,
3. 11. 2022. 22:32:163.11.22.
– django...@googlegroups.com
your super_staff is not active (blank=True)

Eshwar pandu

непрочитано,
15. 2. 2023. 21:48:0215.2.23.
– django...@googlegroups.com
Одговори свима
Одговори аутору
Проследи
0 нових порука