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
Seems like the library is not supported in Django 2.2.
File "/home/repo/venv/lib/python3.8/site-packages/sortedone2many/fields.py", line 277, in contribute_to_related_class
if not self.rel.is_hidden() and not related.related_model._meta.swapped:
AttributeError: 'OneToManyField' object has no attribute 'rel'
I could confirm that changing self.rel to self.remote_field "worked". That said, 'rel' seems to be prevalent in multiple places, so this single line patch isn't enough.
The text was updated successfully, but these errors were encountered:
Seems like the library is not supported in Django 2.2.
Seems like
rel
has been removed: https://docs.djangoproject.com/en/2.0/releases/1.9/#field-rel-changesI could confirm that changing
self.rel
toself.remote_field
"worked". That said,'rel'
seems to be prevalent in multiple places, so this single line patch isn't enough.The text was updated successfully, but these errors were encountered: