Django 2.0 new Features

Source: Internet
Author: User

Welcome to join the Learning Exchange QQ Group: 657341423

December 2, 2017, Django officially released the 2.0 version, as the first major upgrade over the years, then 2.0 of the vast number of Django users change and need to pay attention to the place.
Please click
In addition, the increased MySQL connection, used to implement the Pymysql, because MYSQLDB does not support Python3, so django2.0 connection MySQL can no longer use MYSQLDB. Therefore, the choice of mysqlclient, however, there is not much difference between the use of the two.
Mysqlclient Installation

 

And then in the Python installation directory lib\site-packages\django\db\backends\mysql\base.py The following content to be commented out

If version < (1, 3, 3):
     Raise Improperlyconfigured ("Mysqlclient 1.3.3 or newer is required; You have%s "% database.__version__)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.