From 73609677b0a19302a6e9a08a965a1a63f407526a Mon Sep 17 00:00:00 2001 From: Oliver Sauder Date: Tue, 18 Aug 2020 10:55:49 +0200 Subject: [PATCH] Set maximum version of supported DRF and Django Avoid failling of master if we haven't added support for newly released versions yet. --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 73e86fb1..d37c66f3 100755 --- a/setup.py +++ b/setup.py @@ -90,8 +90,8 @@ def get_package_data(package): ], install_requires=[ 'inflection>=0.3.0', - 'djangorestframework>=3.10', - 'django>=1.11', + 'djangorestframework>=3.10,<3.12', + 'django>=1.11,<3.1', ], extras_require={ 'django-polymorphic': ['django-polymorphic>=2.0'],