So I have just had a try with a new written UserManager and it works.
My model looks the following way now:
from django.db import models
from django.contrib.auth.models import User, UserManager
import datetime
class NewUserManager(models.Manager):
def
Hello People,
I'm just getting started with Django and am currently trying to get my
head around the User/Authenticating-Backend. I want to save extra data
to the User Model so i followed the inheritance way described here:
http://scottbarnham.com/blog/2008/08/21/extending-the-django-user-model-w
2 matches
Mail list logo