Changes between Version 1 and Version 4 of Ticket #34920


Ignore:
Timestamp:
Oct 21, 2023, 2:56:42 PM (7 months ago)
Author:
Tim Graham
Comment:

I'd think that validators that behave identically should be considered equal. Did you run into a real-world bug with the current behavior?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34920

    • Property Owner changed from nobody to ksg
    • Property Status newassigned
  • Ticket #34920 – Description

    v1 v4  
    1 `django.core.validators.FileExtensionValidator` had an '__eq__' method to compare the validator class. However, comparing arrays is not accurate when the order of elements in the arrays is different.
     1`django.core.validators.FileExtensionValidator` had an `__eq__` method to compare the validator class. However, comparing arrays is not accurate when the order of elements in the arrays is different.
    22
    33{{{
Back to Top