Skip to content

Commit

Permalink
[deps] Add Support for django 3.2 and 4.0a1 openwisp#122
Browse files Browse the repository at this point in the history
Added django version 3.2 and 4.0a1
, removed 2.2.0, updated some changes
that were required.

Fixes openwisp#122
  • Loading branch information
yashikajotwani12 committed Oct 22, 2021
1 parent f3218db commit e48718b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,13 @@ jobs:
- 3.8
- 3.9
django-version:
- django~=2.2.0
- django~=3.0.0
- django~=3.1.0
- django~=3.2.0
include:
- django-version: django~=4.0a1
python-version: 3.8
experimental: true

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion django_x509/apps.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from django.apps import AppConfig
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _


class DjangoX509Config(AppConfig):
Expand Down
2 changes: 1 addition & 1 deletion django_x509/base/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
from django.shortcuts import get_object_or_404, render
from django.urls import reverse
from django.utils.html import format_html
from django.utils.translation import gettext_lazy as _
from django.utils.translation import ngettext
from django.utils.translation import ugettext_lazy as _

from django_x509 import settings as app_settings

Expand Down
2 changes: 1 addition & 1 deletion django_x509/base/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from django.utils import timezone
from django.utils.functional import cached_property
from django.utils.safestring import mark_safe
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
from jsonfield import JSONField
from model_utils.fields import AutoCreatedField, AutoLastModifiedField
from OpenSSL import crypto
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
django>=2.2.0,<3.2.0
django>=3.0.0,<=4.0a1
openwisp-utils~=0.7.2
jsonfield>=3.1.0,<4.0.0
cryptography~=3.4
Expand Down

0 comments on commit e48718b

Please sign in to comment.