Skip to content

Commit

Permalink
Updated with latest black and Django 4.2 support
Browse files Browse the repository at this point in the history
Signed-off-by: Steven K <[email protected]>
  • Loading branch information
rh0dium committed Apr 4, 2023
1 parent c01479a commit 519e664
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,12 @@ jobs:
tests:
name: Python ${{ matrix.python-version }} / ${{ matrix.db }} / Django ${{ matrix.django-version}}
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.django-version == '~=4.2' }}
continue-on-error: ${{ matrix.django-version == '~=4.2.0' }}
strategy:
max-parallel: 4
matrix:
db: [ sqlite, mysql ]
django-version: ["<4.2", "~=4.2" ]
django-version: ["~=4.1.0", "~=4.2.0" ]
python-version: [ "3.10" ]

services:
Expand Down Expand Up @@ -160,8 +160,8 @@ jobs:
run: |
python setup.py install
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements_dev.txt
pip install -r requirements.txt --retries 3
pip install -r requirements_dev.txt --retries 3
pip uninstall -y Django
pip install Django${{ matrix.django-version }}
Expand Down
1 change: 0 additions & 1 deletion datatableview/views/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

class DatatableJSONResponseMixin(object):
def dispatch(self, request, *args, **kwargs):

try:
is_ajax = request.headers.get("x-requested-with") == "XMLHttpRequest"
except AttributeError:
Expand Down
1 change: 0 additions & 1 deletion demo_app/example_app/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@


class Migration(migrations.Migration):

initial = True

dependencies = []
Expand Down
1 change: 0 additions & 1 deletion demo_app/example_app/migrations/0002_entry_is_published.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class Migration(migrations.Migration):

dependencies = [
("example_app", "0001_initial"),
]
Expand Down

0 comments on commit 519e664

Please sign in to comment.