Re: Migration for auth_user.username field

2017-07-18 Thread Markus Holtermann
Hi Graeme, the only solution that comes to mind is overriding the alter_field() or _alter_field() methods on the schema editor: https://github.com/django/django/blob/stable/1.11.x/django/db/backends/base/schema.py /Markus On Wednesday, July 19, 2017 at 12:19:09 AM UTC+10, Graeme Perrow wrote:

Migration for auth_user.username field

2017-07-18 Thread Graeme Perrow
I am responsible for the SQL Anywhere Django driver and I'm trying to add support for Django 1.10. When I create a project and run "python manage.py migrate", it executes a bunch of SQL statements but then fails when altering the auth_user table to