Skip to content

Commit

Permalink
Revert "Allow Django 4.0.x"
Browse files Browse the repository at this point in the history
This reverts commit c9191f7.
  • Loading branch information
chris-allan committed May 31, 2023
1 parent a9211bd commit 5be1414
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion omero/plugins/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def wrapper(self, *args, **kwargs):
import django # NOQA
except Exception:
self.ctx.die(681, "ERROR: Django not installed!")
if django.VERSION < (3, 2) or django.VERSION >= (4, 1):
if django.VERSION < (3, 2) or django.VERSION >= (3, 3):
self.ctx.err(
"ERROR: Django version %s is not "
"supported!" % django.get_version()
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def read(fname):
"omero-py>=5.7.0",
# minimum requirements for `omero web start`
"concurrent-log-handler>=0.9.20",
"Django>=3.2.19,<4.1",
"Django>=3.2.18,<4.0",
"django-pipeline==2.1.0",
"django-cors-headers==3.7.0",
"whitenoise>=5.3.0",
Expand Down

0 comments on commit 5be1414

Please sign in to comment.