We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 84ad3d4 + 1f2b83c commit e3872b0Copy full SHA for e3872b0
maintenancemode/middleware.py
@@ -51,7 +51,7 @@ def process_request(self, request):
51
return None
52
# Otherwise show the user the 503 page
53
54
- if (DJANGO_VERSION_MAJOR == 3 and DJANGO_VERSION_MINOR <= 2) or DJANGO_VERSION_MAJOR < 3:
+ if (DJANGO_VERSION_MAJOR == 3 and DJANGO_VERSION_MINOR < 2) or DJANGO_VERSION_MAJOR < 3:
55
# Checks if DJANGO version is less than 3.2.0 for breaking change
56
resolver = get_resolver()
57
0 commit comments