views:

225

answers:

1

Hi at all, I have a simply question. This is my profile:

class Profile(models.Model):

user = models.ForeignKey(User, unique=True)
born = models.DateTimeField('born to')    
photo = models.ImageField(upload_to='profile_photo')

I want to create a REGISTRATION FORM with this fields ( from User and Profile models ):

username, first_name, last_name, born and photo.

All this fields are required.

How do I do that ??

How does get_profile() work in a template for this issue ?

Thank you :)

+3  A: 
Michael Greene
thank you very much
xRobot