From 7b79a028807070d88df139988ae344a88177c73e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A1bio=20Pinto?= Date: Wed, 9 Jul 2025 17:56:16 +0100 Subject: [PATCH 1/2] feat django 5 support --- setup.py | 8 ++++---- theme/__init__.py | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/setup.py b/setup.py index 99a8b0b..60541f5 100644 --- a/setup.py +++ b/setup.py @@ -3,19 +3,19 @@ def get_install_requires(): install_requires = [ - 'Django>=3,<5', - 'django-jsoneditor>0.1,<=0.2', + "Django>=3,<6.0", + "django-jsoneditor>0.1,<=0.2", ] try: import importlib except ImportError: - install_requires.append('importlib') + install_requires.append("importlib") try: from collections import OrderedDict except ImportError: - install_requires.append('ordereddict') + install_requires.append("ordereddict") return install_requires diff --git a/theme/__init__.py b/theme/__init__.py index 0138f30..2f7dbfc 100644 --- a/theme/__init__.py +++ b/theme/__init__.py @@ -1,10 +1,10 @@ -__version__ = '0.0.13' +__version__ = "0.0.14" # set default_app_config when using django earlier than 3.2 try: import django if django.VERSION < (3, 2): - default_app_config = 'theme.apps.SurfaceThemeConfig' + default_app_config = "theme.apps.SurfaceThemeConfig" except ImportError: pass From a019fffff9254abd080089147ba3a26279f46ca7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A1bio=20Pinto?= Date: Wed, 9 Jul 2025 17:57:58 +0100 Subject: [PATCH 2/2] fixup! feat django 5 support --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 60541f5..6aefddf 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ def get_install_requires(): install_requires = [ - "Django>=3,<6.0", + "Django>=3,<6", "django-jsoneditor>0.1,<=0.2", ]