Skip to content

Commit

Permalink
fix: tests and issues with CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
vinitkumar committed Nov 22, 2024
1 parent cf2cc87 commit 6b8cb54
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions djangocms_attributes_field/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +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):
self._from_db_value(value)

def _from_db_value(self, value):
def from_db_value(self, value, expression=None, connection=None, context=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 6b8cb54

Please sign in to comment.