diff --git a/README.md b/README.md index 38876b7..30499b6 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,8 @@ Translates Django model fields in a `JSONField` using a registration approach. # Features/requirements - Uses one PostgreSQL `jsonb`-field per model (via `django.db.models.JSONField`) -- Django 3.2, 4.0, 4.1, 4.2 (with their supported python versions) -- PostgreSQL >= 9.5 and Psycopg2 >= 2.5.4. +- Django 4.2, 5.0 (with their supported python versions) +- PostgreSQL >= 13 and Psycopg2 >= 2.5.4. - [Available on pypi](https://pypi.python.org/pypi/django-modeltrans) - [Documentation](http://django-modeltrans.readthedocs.io/en/latest/) diff --git a/docs/index.rst b/docs/index.rst index b2e0f5d..4ac254d 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -5,8 +5,8 @@ django-modeltrans - Translate model fields using a `JSONField` ============================================================== - Uses one `django.db.models.JSONField` (PostgreSQL JSONB field) for every record. -- Django Django 3.2, 4.0, 4.1, 4.2 (with their supported python versions) -- PostgreSQL >= 9.5 and Psycopg2 >= 2.5.4. +- Django Django 4.2, 5.0 (with their supported python versions) +- PostgreSQL >= 13 and Psycopg2 >= 2.5.4. About the app: diff --git a/setup.py b/setup.py index 20eba13..00b0723 100755 --- a/setup.py +++ b/setup.py @@ -34,13 +34,10 @@ url="https://github.com/zostera/django-modeltrans/", packages=find_packages(exclude=["tests.*", "tests", "example.*", "example"]), include_package_data=True, # declarations in MANIFEST.in - install_requires=["Django>=3.2"], + install_requires=["Django>=4.2"], classifiers=[ "Environment :: Web Environment", "Framework :: Django", - "Framework :: Django :: 3.2", # Until April 2024 - "Framework :: Django :: 4.0", - "Framework :: Django :: 4.1", "Framework :: Django :: 4.2", "Framework :: Django :: 5.0", "Intended Audience :: Developers", diff --git a/tox.ini b/tox.ini index 50afb64..48446ff 100644 --- a/tox.ini +++ b/tox.ini @@ -15,10 +15,11 @@ envlist = [testenv] basepython = - py35: python3.5 - py36: python3.6 - py37: python3.7 py38: python3.8 + py39: python3.9 + py310: python3.10 + py311: python3.11 + py312: python3.12 usedevelop = true pip_pre = true setenv = @@ -28,12 +29,9 @@ setenv = commands = coverage run ./manage.py test --no-input deps = - 2.2: Django==2.2.* - 3.1: Django==3.1.* - 3.2: Django==3.2.* - 4.0: Django==4.0.* - 4.1: Django==4.1.* - 4.2: Django==4.2b1 + + 4.2: Django==4.2.x + 5.0: Django==5.0.x master: https://github.com/django/django/archive/master.tar.gz psycopg2-binary==2.9.5 coverage