Skip to content

Add support for Django 6.0 #188

@dchimeno

Description

@dchimeno

Currently running project tests with django==6.0a1 fails with

  File "/usr/local/lib/python3.12/site-packages/django_tasks/backends/database/migrations/0005_alter_dbtaskresult_priority_and_more.py", line 6, in <module>
    class Migration(migrations.Migration):
  File "/usr/local/lib/python3.12/site-packages/django_tasks/backends/database/migrations/0005_alter_dbtaskresult_priority_and_more.py", line 19, in Migration
    constraint=models.CheckConstraint(
               ^^^^^^^^^^^^^^^^^^^^^^^
TypeError: CheckConstraint.__init__() got an unexpected keyword argument 'check'
make: *** [Makefile:23: test] Error 1
```

```bash
django-tasks                  0.8.1
```

would be great to upload a new release with the warning fixed for 5.2, or directly support 6.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions