I created the following:

class Profile(models.Model):
    user        = models.ForeignKey(User, unique=True)
    phone       = models.CharField(max_length=15,  blank = True, null
= True, unique = True)

   def __unicode__(self):
        return self.user.username


But when I look at it in the Admin. It shows  the Profile and that I
have 2 users, but does not display the username to select. Help?



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to