Search for one to one databass relationships ..
Also checkout extending user model by making a one to one realationship with profile model
On Tue, 31 Mar 2020, 11:25 am fahad rasool, <rasoolfahad630@gmail.com> wrote:
I am having a user model ( which include username,user email and password) and have another model user_detail . I want to add username column to user_ detail and want to show the details of that username who have logged in and filled the details..--How can i do this?
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACqgSmBXCDeVV%3DX72zBk7ip%2B0-QXE81w88Szr43GjwBHMiPCrQ%40mail.gmail.com.
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHV4E-euRiPmfb6Y5v9m72BtGS9%3DjByfvjNs1MpJFJcXsBy8Gw%40mail.gmail.com.
No comments:
Post a Comment