Skip to content

Commit

Permalink
Address django/python version compatibility (#8031)
Browse files Browse the repository at this point in the history
* Address django/python version compatibility

* chore: apply review suggestion

Co-authored-by: Katie McLaughlin <katie@glasnt.com>

* chore: fix version numbers

* chore: fix version numbers

* chore: fix version numbers

* chore: fix version numbers

Co-authored-by: Katie McLaughlin <katie@glasnt.com>
Co-authored-by: Dan Lee <71398022+dandhlee@users.noreply.github.com>
Co-authored-by: Ace Nassri <anassri@google.com>
  • Loading branch information
4 people authored Jun 9, 2022
1 parent 8dd8275 commit 0f21f48
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
5 changes: 3 additions & 2 deletions appengine/flexible/django_cloudsql/requirements.txt
Original file line number Diff line number Diff line change
@@ -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
django-storages[google]==1.12.3
3 changes: 2 additions & 1 deletion appengine/flexible/hello_world_django/requirements.txt
Original file line number Diff line number Diff line change
@@ -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'
5 changes: 3 additions & 2 deletions appengine/standard_python3/django/requirements.txt
Original file line number Diff line number Diff line change
@@ -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
google-cloud-secret-manager==2.11.1
3 changes: 2 additions & 1 deletion kubernetes_engine/django_tutorial/requirements.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion run/django/requirements.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 0f21f48

Please sign in to comment.