Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
django: Upgrade Zulip to Django 3.2 LTS.
Mateusz Mandera1d9fb4f9881c
diff --git a/requirements/common.in b/requirements/common.inindex af5cb3739c6..b18b3cb5978 100644--- a/requirements/common.in+++ b/requirements/common.in@@ -3,7 +3,7 @@# and requirements/prod.txt.# See requirements/README.md for more detail.# Django itself-Django[argon2]==3.1.*+Django[argon2]==3.2.*# needed for Literal, TypedDicttyping-extensionsdiff --git a/requirements/dev.txt b/requirements/dev.txtindex b462254634b..e04e1b279d6 100644--- a/requirements/dev.txt+++ b/requirements/dev.txt@@ -380,9 +380,9 @@ django-two-factor-auth[call,phonenumberslite,sms]==1.13.1 \--hash=sha256:a20e03d256fd9fd668988545f052cedcc47e5a981888562e5e27d0bb83deae89 \--hash=sha256:d270d4288731233621a9462a89a8dfed2dcb86fa354125c816a89772d55f9e29# via -r requirements/common.in-django[argon2]==3.1.8 \- --hash=sha256:c348b3ddc452bf4b62361f0752f71a339140c777ebea3cdaaaa8fdb7f417a862 \- --hash=sha256:f8393103e15ec2d2d313ccbb95a3f1da092f9f58d74ac1c61ca2ac0436ae1eac+django[argon2]==3.2 \+ --hash=sha256:0604e84c4fb698a5e53e5857b5aea945b2f19a18f25f10b8748dbdf935788927 \+ --hash=sha256:21f0f9643722675976004eb683c55d33c05486f94506672df3d6a141546f389d# via# -r requirements/common.in# django-auth-ldapdiff --git a/requirements/prod.txt b/requirements/prod.txtindex 1ba4de9ac1b..daea305c043 100644--- a/requirements/prod.txt+++ b/requirements/prod.txt@@ -244,9 +244,9 @@ django-two-factor-auth[call,phonenumberslite,sms]==1.13.1 \--hash=sha256:a20e03d256fd9fd668988545f052cedcc47e5a981888562e5e27d0bb83deae89 \--hash=sha256:d270d4288731233621a9462a89a8dfed2dcb86fa354125c816a89772d55f9e29# via -r requirements/common.in-django[argon2]==3.1.8 \- --hash=sha256:c348b3ddc452bf4b62361f0752f71a339140c777ebea3cdaaaa8fdb7f417a862 \- --hash=sha256:f8393103e15ec2d2d313ccbb95a3f1da092f9f58d74ac1c61ca2ac0436ae1eac+django[argon2]==3.2 \+ --hash=sha256:0604e84c4fb698a5e53e5857b5aea945b2f19a18f25f10b8748dbdf935788927 \+ --hash=sha256:21f0f9643722675976004eb683c55d33c05486f94506672df3d6a141546f389d# via# -r requirements/common.in# django-auth-ldapdiff --git a/tools/test-backend b/tools/test-backendindex 233ec37cb50..3c0b8df9827 100755--- a/tools/test-backend+++ b/tools/test-backend@@ -76,7 +76,6 @@ not_yet_fully_covered = ["zerver/lib/markdown/help_relative_links.py","zerver/lib/markdown/nested_code_blocks.py",# Other lib files that ideally would coverage, but aren't sorted- "zerver/__init__.py","zerver/filters.py","zerver/middleware.py","zerver/lib/bot_lib.py",diff --git a/version.py b/version.pyindex 4c37560b7db..4b6e13f6aa8 100644--- a/version.py+++ b/version.py@@ -45,4 +45,4 @@ API_FEATURE_LEVEL = 61# historical commits sharing the same major version, in which case a# minor version bump suffices.-PROVISION_VERSION = "141.3"+PROVISION_VERSION = "142.0"diff --git a/zerver/__init__.py b/zerver/__init__.pyindex 08e90b7a2a2..e69de29bb2d 100644--- a/zerver/__init__.py+++ b/zerver/__init__.py@@ -1,2 +0,0 @@-# Load AppConfig app subclass by default on django applications initialization-default_app_config = "zerver.apps.ZerverConfig"diff --git a/zproject/computed_settings.py b/zproject/computed_settings.pyindex f4d881ad4fa..d860911cb0a 100644--- a/zproject/computed_settings.py+++ b/zproject/computed_settings.py@@ -315,6 +315,8 @@ elif REMOTE_POSTGRES_HOST != "":POSTGRESQL_MISSING_DICTIONARIES = bool(get_config("postgresql", "missing_dictionaries", None))+DEFAULT_AUTO_FIELD = "django.db.models.AutoField"+######################################################################### RABBITMQ CONFIGURATION########################################################################