python - Django Registration with Custom User Model -
so using custom user model accounts.player , i'm using django-registration in project.
with custom model encounters error. know write own registration code there way use custom model class django-registration. had on docs didn't find solution.
i'm sure theres way using subclass i'm not sure how implement this.
what files required , code need??
this did personal project of mine:
class userprofile(models.model): user = models.onetoonefield(user, related_name = 'moreaboutuser', unique=true) age = .... gender = ....
regarding error, don't know how since didn't provide traceback/code. can connect custom model user model onetoonefiel'
Comments
Post a Comment