I'm trying to take Django 1.5 for a spin (used older versions for a while) to create a basic user that authenticates by email. I'm using the docs for 1.5 and it says to inherit AbstractBaseUser but oddly, it doesn't seem to be available to use. Here's my code:
from django.db import models class User(models.AbstractBaseUser): identifier = models.EmailField(max_length=254) first_name = models.CharField() last_name = models.CharField() REQUIRED_FIELDS = ['first_name','last_name'] Here's what I get back from syncdb: *new-host-2:locations_site scott$* python manage.py syncdb AttributeError: 'module' object has no attribute 'AbstractBaseUser' I've tried the import every different way I can think of. What am I missing? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.