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
Unless the MarkupField is the last field in a model class, this causes a collision of creation_counter with the fields that come after. This breaks the Field equality check and hence any code that relies on field equality. For instance, I came across this bug when using django-concurrency, which relies on field equality to detect the version field.
The text was updated successfully, but these errors were encountered:
These lines cannot be used to preserve ordering in forms, because Django's
Field.__eq__
uses thecreation_counter
for equality:Unless the
MarkupField
is the last field in a model class, this causes a collision ofcreation_counter
with the fields that come after. This breaks the Field equality check and hence any code that relies on field equality. For instance, I came across this bug when usingdjango-concurrency
, which relies on field equality to detect the version field.The text was updated successfully, but these errors were encountered: