Skip to content

Commit

Permalink
Update/django v4 (#78)
Browse files Browse the repository at this point in the history
Add support for Django v4
  • Loading branch information
BlueLovin authored Feb 6, 2022
1 parent 91fd9c9 commit 160a7ee
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ jobs:
strategy:
max-parallel: 4
matrix:
django-version: [2.2.27, 3.2.12]
django-version: [2.2.27, 3.2.12, 4.0.2]

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: "3.7"
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion vote/apps.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from django.apps import AppConfig as BaseConfig
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _


class VoteAppConfig(BaseConfig):
Expand Down
2 changes: 1 addition & 1 deletion vote/managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from django.db.utils import OperationalError
from django.contrib.contenttypes.fields import GenericRelation
from django.contrib.contenttypes.models import ContentType
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _

from vote.utils import instance_required, add_field_to_objects

Expand Down
2 changes: 1 addition & 1 deletion vote/signals/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from django.dispatch import Signal


post_voted = Signal(providing_args=["obj", "user", "action"])
post_voted = Signal()

0 comments on commit 160a7ee

Please sign in to comment.