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
class Item(models.Model):
id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False, unique=True)
container = models.ForeignKey(to=Container)
position = PositionField(collection='container')
class Container(models.Model):
id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False, unique=True)
...
models.py
django shell:
I've tried to debug the code and figured out that:
in fields.py (229 -
update_on_save
)the value of current is
None
and it gets compared to theint
and I'm getting an error.The text was updated successfully, but these errors were encountered: