Re: Extending Profile with a ForeignKey field

2010-09-25 Thread Sameer Rahmani
i think you use a string for filling that field . but can you please post the form code too ? out of topic : Are you iranian ? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com.

Extending Profile with a ForeignKey field

2010-09-25 Thread Pedram
Hi, I want to add a ForeignKey field in UserProfile. Sth like this: from myapp.models import Person class Profile(models.Model): user = models.ForeignKey(User, unique=True, verbose_name=_('user')) name = models.CharField(_('name'), max_length=50, null=True, blank=True) about =