Username column size too small
After an error and inspecting a database I noted that the auth_user username column was set as varchar(30), obviously too small for the generated username of the new registration process (32 characters).
There's an hack in authentic to alter the user model but it looks like it fails in some situation.
(for debugging purpose the error occured on imio.authentic.dev.entrouvert.org, where I later on manually changed the column).
#3 Updated by Benjamin Dauvergne over 4 years ago
auth.* models are built by the migration system with Django 1.7 so modifying the model itself has no effect; is it mandatory for you to use Django 1.7 with a2 now ? It's still not completely supported (no Django 1.7 initial migrations).
The starting access control branch has a prelude where I move away from contrib.auth user model to use our own custom user model; I could integrate it in master this week; another possibility would be to provide our own django.contrib.auth.migrations for Django 1.7 only in the meantime.
#4 Updated by Benjamin Dauvergne over 4 years ago
- File 0001-override-default-migrations-for-django.contrib.auth-.patch added
- Assignee changed from Serghei Mihai to Benjamin Dauvergne
- Target version set to 2.2.0
This patch is a temporary fix until we adopt a custom user model for a2. It overrides default django migrations for django.contrib.auth with our own.