how to change default django-registration Model used in its form?
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" )
par开发者_如何学Cent = 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 :)
精彩评论