Adds django@4.0 support (#786)

* Adds django@4.0 support

* Fixes CI

* Fixes CI

* Ignore new error for django4.0

* Fixes
This commit is contained in:
Nikita Sobolev
2021-12-16 21:51:46 +03:00
committed by GitHub
parent e9b328a935
commit b50a9077f8
4 changed files with 17 additions and 10 deletions

View File

@@ -20,7 +20,7 @@ class ServerHandler(simple_server.ServerHandler):
class WSGIRequestHandler(simple_server.WSGIRequestHandler):
close_connection: bool
connection: WSGIRequest
connection: WSGIRequest # type: ignore[assignment]
request: WSGIRequest
rfile: BytesIO
wfile: BytesIO