diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index 9084a6d..64c2258 100644 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -9,18 +9,13 @@ jobs: tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - - name: Set up Python 3.12 - uses: actions/setup-python@v3 - with: - python-version: "3.12" + - uses: actions/checkout@v4 - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt - pip install pylint==3.2.6 pylint-django==2.5.5 black==24.8.0 + pip install pylint==3.3.1 pylint-django==2.6.1 black==24.8.0 - name: Run pylint and black run: | diff --git a/LedenAdministratie/models.py b/LedenAdministratie/models.py index 765de8f..aecfe6c 100644 --- a/LedenAdministratie/models.py +++ b/LedenAdministratie/models.py @@ -30,7 +30,12 @@ class Meta: ] def save( - self, force_insert=False, force_update=False, using=None, update_fields=None + self, + *args, + force_insert=False, + force_update=False, + using=None, + update_fields=None, ): if self.thumbnail is None and self.foto is not None: try: diff --git a/requirements.txt b/requirements.txt index 8394247..612e792 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -Django==5.0.9 +Django==5.1.2 django-cors-headers==4.5.0 django-oauth-toolkit==2.4.0 django-tinymce==4.1.0