Skip to content

Commit

Permalink
chore: Django bump to <=5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomáš Daniel committed Apr 9, 2024
1 parent d32bc5c commit 8a39bc6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
- python-version: "3.11"
django-version: Django==3.2

- python-version: "3.11"
django-version: Django==4.2

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion generic_m2m_field/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from django.db import models
from django.db.models.functions import Cast
from django.utils.functional import cached_property
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _

from chamber.models import SmartModel, SmartQuerySet
from chamber.shortcuts import get_object_or_none
Expand Down
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name='skip-django-generic-m2m-field',
version='0.0.9.3',
version='0.1.0',
description="Django generic many to many field library.",
keywords='django, fields, generic',
author='Lubos Matl',
Expand All @@ -27,8 +27,7 @@
'Topic :: Internet :: WWW/HTTP :: Site Management',
],
install_requires=[
'django>=2.2.9, <4.0',
'skip-django-chamber>=0.6.16.3'
'django>=2.2.9, <5.0',
],
zip_safe=False
)

0 comments on commit 8a39bc6

Please sign in to comment.