Hi Folks,
I Extended Profile Model from dajngo inbuilt User model but Now I want call
all the details those are associated with Username in Profile model. I got
the username but how i cann call it in Profile model.

Ex:
class Profile(models.Model):
user = models.ForeignKey(User,related_name = 'user_model,..........)

data = Profile.objects.filter(user = username)

But it's not working please help me guys.

Thank You

Regards,
Soumen

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPUw6WY%2BUNTU6UOAKyOxMWg24dAsmc7eB7%3D9kZTDjiukn3%2BKJQ%40mail.gmail.com.

Reply via email to