Skip to content

Commit

Permalink
Adding support for django 4
Browse files Browse the repository at this point in the history
Adding support for django 4

Not sure how to remove the warning for related name
  • Loading branch information
asucrews committed Mar 12, 2022
1 parent b32c42a commit c6cc8ec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion django_currentuser/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.5.3'
__version__ = '0.5.4'
2 changes: 1 addition & 1 deletion django_currentuser/db/models/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(self, *args, **kwargs):
if self.on_update:
kwargs["editable"] = False
kwargs["blank"] = True

kwargs.update(self.defaults)
super(CurrentUserField, self).__init__(**kwargs)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
],
include_package_data=True,
install_requires=[
'Django>=1.11.17,<3.3;python_version>="2.7"',
'Django>=1.11.17,<5.0;python_version>="2.7"',
],
license="BSD",
zip_safe=False,
Expand Down

0 comments on commit c6cc8ec

Please sign in to comment.