MySQL Forums
Forum List  »  Connector/Python

Re: Django 1.10 + mysql connector 2.1.4
Posted by: Mayur Reddy
Date: October 11, 2016 07:38PM

To use MySQL with Django 1.10, install PyMySQL and put the following in your settings.py:

import pymysql
pymysql.install_as_MySQLdb()

Options: ReplyQuote


Subject
Written By
Posted
Re: Django 1.10 + mysql connector 2.1.4
October 11, 2016 07:38PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.