From a865bfb33fd90911bfebe30a481edd7e574a497b Mon Sep 17 00:00:00 2001 From: Charles Engelke Date: Fri, 7 Jun 2019 12:13:03 -0700 Subject: [PATCH 1/5] Commented out MySQL requirement with explanation --- container_engine/django_tutorial/requirements.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/container_engine/django_tutorial/requirements.txt b/container_engine/django_tutorial/requirements.txt index c19a8e2bed0..e9a6e926adb 100644 --- a/container_engine/django_tutorial/requirements.txt +++ b/container_engine/django_tutorial/requirements.txt @@ -1,5 +1,7 @@ Django==2.1.5 -mysqlclient==1.4.1 +# Uncomment the mysqlclient requirement if you are using MySQL rather than +# PostgreSQL. You must also have a MySQL client installed in that case. +#mysqlclient==1.4.1 wheel==0.32.3 gunicorn==19.9.0 psycopg2==2.7.7 From 6e17b94850ea70c61f35a9599f4349c7d3bd87df Mon Sep 17 00:00:00 2001 From: Charles Engelke Date: Mon, 10 Jun 2019 12:02:57 -0700 Subject: [PATCH 2/5] Address security warning with older Django version --- container_engine/django_tutorial/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/container_engine/django_tutorial/requirements.txt b/container_engine/django_tutorial/requirements.txt index e9a6e926adb..e5ee7f84b20 100644 --- a/container_engine/django_tutorial/requirements.txt +++ b/container_engine/django_tutorial/requirements.txt @@ -1,4 +1,4 @@ -Django==2.1.5 +Django==2.1.9 # Uncomment the mysqlclient requirement if you are using MySQL rather than # PostgreSQL. You must also have a MySQL client installed in that case. #mysqlclient==1.4.1 From 9e4c1589e7e17aaf086452b1c1fffe71af487398 Mon Sep 17 00:00:00 2001 From: Charles Engelke Date: Mon, 10 Jun 2019 12:04:49 -0700 Subject: [PATCH 3/5] Updated Django version due to vulnerability --- appengine/flexible/hello_world_django/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appengine/flexible/hello_world_django/requirements.txt b/appengine/flexible/hello_world_django/requirements.txt index 110ee9c2e19..8b9ee990bb0 100644 --- a/appengine/flexible/hello_world_django/requirements.txt +++ b/appengine/flexible/hello_world_django/requirements.txt @@ -1,2 +1,2 @@ -Django==2.1.5 +Django==2.1.9 gunicorn==19.9.0 From 77e03f982970b4e5eb0c8a6e95189e404b3e552a Mon Sep 17 00:00:00 2001 From: Charles Engelke Date: Mon, 10 Jun 2019 12:06:04 -0700 Subject: [PATCH 4/5] Address older Django vulnerability --- appengine/flexible/django_cloudsql/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appengine/flexible/django_cloudsql/requirements.txt b/appengine/flexible/django_cloudsql/requirements.txt index c19a8e2bed0..c7a0c8f04c5 100644 --- a/appengine/flexible/django_cloudsql/requirements.txt +++ b/appengine/flexible/django_cloudsql/requirements.txt @@ -1,4 +1,4 @@ -Django==2.1.5 +Django==2.1.9 mysqlclient==1.4.1 wheel==0.32.3 gunicorn==19.9.0 From f066163f6676dfcb9a9977b03624c9ab88f145ba Mon Sep 17 00:00:00 2001 From: Charles Engelke Date: Mon, 10 Jun 2019 19:30:24 -0700 Subject: [PATCH 5/5] Update requirements.txt --- appengine/standard_python37/django/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appengine/standard_python37/django/requirements.txt b/appengine/standard_python37/django/requirements.txt index 6af98c09acc..a2f23ba6d21 100644 --- a/appengine/standard_python37/django/requirements.txt +++ b/appengine/standard_python37/django/requirements.txt @@ -1,2 +1,2 @@ -Django==2.1.5 +Django==2.1.9 PyMySQL==0.9.3