Re: python3 manage.py migrate got an error

2016-11-11 Thread GMail
Are you, by any chance, trying to put string into DateTime field? > On 11 Nov 2016, at 15:45, Tim Graham wrote: > > The only thing that comes to mind is that mysql.connector may not support the > latest version of Django. > > Try mysqlclient if that's an option for you. > https://docs.djangop

Re: python3 manage.py migrate got an error

2016-11-11 Thread Tim Graham
The only thing that comes to mind is that mysql.connector may not support the latest version of Django. Try mysqlclient if that's an option for you. https://docs.djangoproject.com/en/stable/ref/databases/#mysql-db-api-drivers On Friday, November 11, 2016 at 7:07:26 AM UTC-5, xiupei gao wrote: >

python3 manage.py migrate got an error

2016-11-11 Thread xiupei gao
i just started a new project and changed the default database engine by DATABASES = { 'default': { 'ENGINE': 'mysql.connector.django', 'NAME': 'django', 'USER': 'root', 'PASSWORD': 'mypassword', 'HOST': '127.0.0.1', } } then i ran python3 manage.py