I am trying to set up Django with MySQL on a Mac. This is my setup:
- Django 1.9
- Mysql 5.6.23
- OS X 10.11
For the data communication, I use MySQL Connector.
I have modified the settings.py
file, so that Django can talk to MySQL.
The problem is when I do python manage.py migrate
, I keep getting this error:
django.db.utils.DatabaseError: Incorrect datetime value:
'2016-01-11 06:59:07.980679+00:00' for column 'applied' at row 1.
What is wrong with this datetime format?