Skip to content

Commit

Permalink
Switch to Fix GoogleCloudPlatform#3221
Browse files Browse the repository at this point in the history
  • Loading branch information
Bartleby2718 committed Mar 29, 2020
1 parent c9a1257 commit 3122789
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions appengine/standard_python37/django/mysite/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,9 @@
# Database
# https://docs.djangoproject.com/en/2.1/ref/settings/#databases

# Install PyMySQL as mysqlclient/MySQLdb to use Django's mysqlclient adapter
# Install mysqlclient to use Django's mysqlclient adapter
# See https://docs.djangoproject.com/en/2.1/ref/databases/#mysql-db-api-drivers
# for more information
import pymysql # noqa: 402
pymysql.install_as_MySQLdb()

# [START db_setup]
if os.getenv('GAE_APPLICATION', None):
Expand Down
2 changes: 1 addition & 1 deletion appengine/standard_python37/django/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Django==2.1.14 #This requirement must remain pinned at 2.1.14 until https://github.com/PyMySQL/PyMySQL/issues/790 is resolved
PyMySQL==0.9.3
mysqlclient==1.3.7

0 comments on commit 3122789

Please sign in to comment.