Can't answer your question directly, but it looks as if you are trying to extend the field list for a user. In this case you should check out the proper way of doing it using AUTH_PROFILE_MODULE:
http://docs.djangoproject.com/en/dev/topics/auth/?from=olddocs#storing-additional-information-about-users Kevin On May 1, 8:20 am, CrabbyPete <pete.do...@gmail.com> wrote: > 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 django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---