Dear all,
I'm trying to learn about django, follow the documentation, in my first:
python manage.py migrate
all time get this error:
File
"/usr/local/lib/python3.5/site-packages/mysql/connector/django/operations.py",
line 223, in bulk_insert_sql
return "VALUES " + ", ".join([items_sql]
Try mysqlclient as mentioned in
https://docs.djangoproject.com/en/stable/ref/databases/#mysql-db-api-drivers.
As it says there, MySQL Connector/Python is developed by Oracle and may not
support the most recent Django releases.
On Thursday, October 13, 2016 at 6:47:02 PM UTC-4, Andres Marin wrot
First you can install python tools and other librarys
If you using Ubuntu or Debian, check this steps
sudo apt-get install python-setuptools apache2 libapache2-mod-wsgi
sudo apt-get install python-pip
sudo apt-get install *python-dev libmysqlclient-dev*
Don't use
'ENGINE': 'mysql.connector.dj
Hi,
Thanks...
The steps to solve my issue:
install mysqlclient: pip install mysqlclient
thanks Tim Graham
Configure in settings: 'ENGINE': 'django.db.backends.mysql',
Thanks Ricardo Prado
Now, all is working fine!
Regards!
AYMG
On Thursday, October 13, 2016 at 8:37:52 PM UTC-5, Ricardo Pra
4 matches
Mail list logo