Skip to content

Commit

Permalink
fix: add support for Django 5 (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio Castillo committed Dec 12, 2023
1 parent 461d4df commit 42bd921
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ jobs:
- "3.2" # LTS
- "4.1"
- "4.2" # LTS
- "5.0"
exclude:
- django-version: "5.0" # django 5.0 supports python >=3.10
python-version: "3.8"
- django-version: "5.0" # django 5.0 supports python >=3.10
python-version: "3.9"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand Down
3 changes: 1 addition & 2 deletions django_dramatiq/admin.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import json
from datetime import datetime
from datetime import datetime, timezone

from django.conf import settings
from django.contrib import admin
from django.utils import timezone
from django.utils.safestring import mark_safe

from .models import Task
Expand Down

0 comments on commit 42bd921

Please sign in to comment.