requirements: Upgrade Django to 4.1.

zerver/migrations/0240_usermessage_migrate_bigint_id_into_id.py needs
to be updated to account for Django 4.1 creating AutoField as an
identity column rather than a serial column.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2022-09-29 14:09:47 -07:00
committed by Tim Abbott
parent 67cbb21267
commit 92ad4455ed
10 changed files with 72 additions and 53 deletions

View File

@@ -479,7 +479,7 @@ class JsonErrorHandler(MiddlewareMixin):
request.path,
response=response,
request=request,
exc_info=True,
exception=exception,
)
return response
if RequestNotes.get_notes(request).error_format == "JSON" and not settings.TEST_SUITE: