Skip to content

Commit

Permalink
Update documentation and tox
Browse files Browse the repository at this point in the history
  • Loading branch information
jieter committed Apr 11, 2024
1 parent a2c43bd commit e2d04c6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 17 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)

Expand Down
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
16 changes: 7 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand All @@ -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
Expand Down

0 comments on commit e2d04c6

Please sign in to comment.