diff --git a/appengine/flexible/django_cloudsql/requirements.txt b/appengine/flexible/django_cloudsql/requirements.txt index 16191655a75c..5f2857b6132a 100644 --- a/appengine/flexible/django_cloudsql/requirements.txt +++ b/appengine/flexible/django_cloudsql/requirements.txt @@ -1,6 +1,7 @@ -Django==4.0.4 +Django==4.0.4; python_version >= '3.8' +Django==3.2.13; python_version < '3.8' gunicorn==20.1.0 psycopg2-binary==2.9.3 django-environ==0.8.1 google-cloud-secret-manager==2.11.1 -django-storages[google]==1.12.3 \ No newline at end of file +django-storages[google]==1.12.3 diff --git a/appengine/flexible/hello_world_django/requirements.txt b/appengine/flexible/hello_world_django/requirements.txt index 9f50be0f8e55..dc594181129c 100644 --- a/appengine/flexible/hello_world_django/requirements.txt +++ b/appengine/flexible/hello_world_django/requirements.txt @@ -1,3 +1,4 @@ -Django==4.0.4 +Django==4.0.4; python_version >= '3.8' +Django==3.2.13; python_version < '3.8' gunicorn==20.1.0; python_version > '3.0' gunicorn==19.10.0; python_version < '3.0' diff --git a/appengine/standard_python3/django/requirements.txt b/appengine/standard_python3/django/requirements.txt index 7d6d43975519..1bb0ed4fb3c7 100644 --- a/appengine/standard_python3/django/requirements.txt +++ b/appengine/standard_python3/django/requirements.txt @@ -1,4 +1,5 @@ -Django==4.0.4 +Django==4.0.4; python_version >= '3.8' +Django==3.2.13; python_version < '3.8' django-environ==0.8.1 psycopg2-binary==2.9.3 -google-cloud-secret-manager==2.11.1 \ No newline at end of file +google-cloud-secret-manager==2.11.1 diff --git a/kubernetes_engine/django_tutorial/requirements.txt b/kubernetes_engine/django_tutorial/requirements.txt index 3295edc48a12..55f9f5b1cfc0 100644 --- a/kubernetes_engine/django_tutorial/requirements.txt +++ b/kubernetes_engine/django_tutorial/requirements.txt @@ -1,4 +1,5 @@ -Django==4.0.4 +Django==4.0.4; python_version >= '3.8' +Django==3.2.13; python_version < '3.8' # 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 diff --git a/run/django/requirements.txt b/run/django/requirements.txt index 8ea0ab5f5de8..840619263491 100644 --- a/run/django/requirements.txt +++ b/run/django/requirements.txt @@ -1,4 +1,5 @@ -Django==4.0.4 +Django==4.0.4; python_version >= '3.8' +Django==3.2.13; python_version < '3.8' django-storages[google]==1.12.3 django-environ==0.8.1 psycopg2-binary==2.9.3