diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index ea0caab..155b5a6 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -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.* @@ -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 @@ -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 @@ -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 diff --git a/README.rst b/README.rst index 9d5164e..613f0ba 100644 --- a/README.rst +++ b/README.rst @@ -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 `_ @@ -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 diff --git a/setup.py b/setup.py index be44717..bf644dc 100644 --- a/setup.py +++ b/setup.py @@ -35,5 +35,6 @@ 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', ], ) diff --git a/test_project/test_project/settings.py b/test_project/test_project/settings.py index 2a8057b..3645823 100644 --- a/test_project/test_project/settings.py +++ b/test_project/test_project/settings.py @@ -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