1

django-registration use auth User model in its form, but i want to use,

class Person( User ):
  dob    = models.DateField('Date of Birth', blank=True, null=True)
  ssn    = models.CharField(max_length=16, null=True, blank=True)
  tag    = models.ManyToManyField( PersonTags, related_name="tags" )
  parent = models.ForeignKey('self', null=True, blank=True, related_name='children')

when user registers, it should go to Person and User models, so now how can i do it in django-registration.

Please help me and thanx in advance :)

Ahsan
  • 11,516
  • 12
  • 52
  • 79
  • 1
    have a look at - http://stackoverflow.com/questions/2601487/django-registration-django-profile-using-your-own-custom-form - explains how to customize the form with a custom backend. – JamesO Mar 14 '11 at 09:37

0 Answers0