Skip to content

Commit

Permalink
Add Django 4.1-4.2 and python 3.11 to the test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
omonbek22 committed Oct 26, 2023
1 parent 534b529 commit 92dc6d0
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 4 deletions.
38 changes: 36 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ jobs:
strategy:
fail-fast: false
matrix:
python: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, "3.10"]
django: [1.8.*, 1.9.*, 1.10.*, 1.11.*, 2.0.*, 2.1.*, 2.2.*, 3.0.*, 3.1.*, 3.2.*, 4.0.*]
python: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, "3.10", 3.11]
django: [1.8.*, 1.9.*, 1.10.*, 1.11.*, 2.0.*, 2.1.*, 2.2.*, 3.0.*, 3.1.*, 3.2.*, 4.0.*, 4.1.*, 4.2.*]
exclude:
- python: 2.7
django: 2.0.*
Expand All @@ -78,6 +78,10 @@ jobs:
django: 3.2.*
- python: 2.7
django: 4.0.*
- python: 2.7
django: 4.1.*
- python: 2.7
django: 4.2.*
- python: 3.5
django: 3.0.*
- python: 3.5
Expand All @@ -86,12 +90,24 @@ jobs:
django: 3.2.*
- python: 3.5
django: 4.0.*
- python: 3.5
django: 4.1.*
- python: 3.5
django: 4.2.*
- python: 3.6
django: 4.0.*
- python: 3.6
django: 4.1.*
- python: 3.6
django: 4.2.*
- python: 3.7
django: 1.11.*
- python: 3.7
django: 4.0.*
- python: 3.7
django: 4.1.*
- python: 3.7
django: 4.2.*
- python: 3.8
django: 1.9.*
- python: 3.8
Expand All @@ -110,6 +126,24 @@ jobs:
django: 1.11.*
- python: "3.10"
django: 2.0.*
- python: 3.11
django: 1.8.*
- python: 3.11
django: 1.9.*
- python: 3.11
django: 1.10.*
- python: 3.11
django: 1.11.*
- python: 3.11
django: 2.0.*
- python: 3.11
django: 3.0.*
- python: 3.11
django: 3.1.*
- python: 3.11
django: 3.2.*
- python: 3.11
django: 4.0.*
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DjangoQL

Advanced search language for Django, with auto-completion. Supports logical
operators, parenthesis, table joins, and works with any Django model. Tested on
Python 2.7, 3.5 - 3.10, Django 1.8 - 4.0. The auto-completion feature has been
Python 2.7, 3.5 - 3.11, Django 1.8 - 4.2. The auto-completion feature has been
tested in Chrome, Firefox, Safari, IE9+.

See a video: `DjangoQL demo <https://youtu.be/oKVff4dHZB8>`_
Expand Down Expand Up @@ -68,7 +68,7 @@ Add ``'djangoql'`` to ``INSTALLED_APPS`` in your ``settings.py``:
Add it to your Django admin
---------------------------

Adding ``DjangoQLSearchMixin`` your model admin will replace the standard
Adding ``DjangoQLSearchMixin`` to your model admin will replace the standard
Django search functionality with DjangoQL search. Example:

.. code:: python
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
)
1 change: 1 addition & 0 deletions test_project/test_project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@

WSGI_APPLICATION = 'test_project.wsgi.application'

DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'

# Database
# https://docs.djangoproject.com/en/1.10/ref/settings/#databases
Expand Down

0 comments on commit 92dc6d0

Please sign in to comment.