Skip to content

Commit

Permalink
Merge pull request #893 from smithdc1/master
Browse files Browse the repository at this point in the history
Added support for Django 4.0
  • Loading branch information
etianen committed Oct 4, 2021
2 parents a2a8565 + c83c93d commit c55c0eb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,18 @@ jobs:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
django-version:
- '>=4.0a1,<4.1'
- '>=3.2,<4.0'
- '>=3.1,<3.2'
- '>=3.0,<3.1'
- '>=2.2,<3.0'
- '>=2.1,<2.2'
- '>=2.0,<2.1'
exclude:
- python-version: 3.6
django-version: '>=4.0a1,<4.1'
- python-version: 3.7
django-version: '>=4.0a1,<4.1'
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion reversion/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from django.urls import reverse, re_path
from django.utils.text import capfirst
from django.utils.timezone import template_localtime
from django.utils.translation import ugettext as _
from django.utils.translation import gettext as _
from django.utils.encoding import force_str
from django.utils.formats import localize
from reversion.errors import RevertError
Expand Down

0 comments on commit c55c0eb

Please sign in to comment.