[django/django] 724a7b: [1.7.x] Fixed #22588 -- Fix RegexValidator __eq__

4 views
Skip to first unread message

GitHub

unread,
May 8, 2014, 10:50:00 PM5/8/14
to django-...@googlegroups.com
Branch: refs/heads/stable/1.7.x
Home: https://github.com/django/django
Commit: 724a7bf222e31f42e2ab431cc09da224081d03fa
https://github.com/django/django/commit/724a7bf222e31f42e2ab431cc09da224081d03fa
Author: David Szotten <davids...@gmail.com>
Date: 2014-05-07 (Wed, 07 May 2014)

Changed paths:
M django/core/validators.py
M tests/validators/tests.py

Log Message:
-----------
[1.7.x] Fixed #22588 -- Fix RegexValidator __eq__

Compare parameters instead of re.pattern instances, and add the other
parameters to the comparison. Also add a __ne__ to make assertNotEqual
work properly.


Commit: d2e96b5792367af5aa0140f7e2673d654bb266df
https://github.com/django/django/commit/d2e96b5792367af5aa0140f7e2673d654bb266df
Author: Andrew Godwin <and...@aeracode.org>
Date: 2014-05-08 (Thu, 08 May 2014)

Changed paths:
M django/core/validators.py
M tests/validators/tests.py

Log Message:
-----------
Merge pull request #2637 from davidszotten/validator_comparisons

[1.7.x] Fixed #22588 -- Fix RegexValidator __eq__


Compare: https://github.com/django/django/compare/7194d40236fc...d2e96b579236
Reply all
Reply to author
Forward
0 new messages