Re: MySQL error when trying to run tests with utf8mb4 charset

2013-10-18 Thread fletch
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)

MySQL error when trying to run tests with utf8mb4 charset

2013-10-16 Thread fletch
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