Skip to content

Commit

Permalink
fix: remove the option context arg as Django 2.2 is EOL
Browse files Browse the repository at this point in the history
  • Loading branch information
vinitkumar committed Nov 22, 2024
1 parent 6b8cb54 commit b9c6bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion djangocms_attributes_field/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def formfield(self, **kwargs):
defaults["excluded_keys"] = self.excluded_keys
return super().formfield(**defaults)

def from_db_value(self, value, expression=None, connection=None, context=None):
def from_db_value(self, value, expression=None, connection=None):
"""
This is a temporary workaround for #7 taken from
https://bitbucket.org/schinckel/django-jsonfield/pull-requests/32/make-from_db_value-compatible-with/diff
Expand Down

0 comments on commit b9c6bb9

Please sign in to comment.