You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that this rep is causing errors with projects running Django 3.2.x, which look like the following: TypeError: from_db_value() missing 1 required positional argument: 'context'.
I found that this rep is causing errors with projects running Django 3.2.x, which look like the following:
TypeError: from_db_value() missing 1 required positional argument: 'context'
.Django has deprecated the context argument of Field.from_db_value() and Expression.convert_value(), as seen here: https://docs.djangoproject.com/en/3.0/releases/2.0/#features-deprecated-in-2-0.
This is solved by adding
context=None
tofrom_db_value()
, seen here: https://github.com/ixc/python-edtf/blob/master/edtf/fields.py#L55.The text was updated successfully, but these errors were encountered: