Looks like this comes from custom_user.py in django.contrib.auth.tests:
class CustomUser(AbstractBaseUser):
email = models.EmailField(verbose_name='email address', max_length=255,
unique=True)
is_active = models.BooleanField(default=True)
is_admin = models.BooleanField(default=False)
Hello!
I tried to run *./manage.py test *for the first time and I got the
following error:
*DatabaseError: (1071, 'Specified key was too long; max key length is 767
bytes')*
Looking at the log in MySQL, it appears to be caused by this statement:
CREATE TABLE `auth_customuser` (
`id` integ
2 matches
Mail list logo