Form for Profile models ?
Posted
by xRobot
on Stack Overflow
See other posts from Stack Overflow
or by xRobot
Published on 2010-05-05T21:07:09Z
Indexed on
2010/05/05
21:58 UTC
Read the original article
Hit count: 452
Is there a way to create a form from profile models ?
For example... If I have this model as profile:
class blogger(models.Model):
user = models.ForeignKey(User, unique=True)
born = models.DateTimeField('born')
gender = models.CharField(max_length=1, choices=gender )
about = models.TextField(_('about'), null=True, blank=True)
.
I want this form:
Name:
Surname:
Born:
Gender:
About:
Is this possible ? If yes how ?
© Stack Overflow or respective owner