summaryrefslogtreecommitdiff
path: root/tests/validators/tests.py
AgeCommit message (Collapse)Author
2015-03-25Fixed #24531 -- Improved CommaSeparatedIntegerField validation.Bertrand Bordage
`','`, `'1,,1'`, `',1'` etc. are no longer considered as valid comma-separated integer lists.
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-11-03Refactored URLValidator tests by moving URLs to text files.Danilo Bargen
2014-07-26Fixed #16617 -- Added 'value' to BaseValidator params.Anubhav Joshi
Also allowed overriding the default messages in subclasses of BaseValidator. Thanks sperrygrove for initial patch.
2014-07-04Corrected domain max length for EmailValidator; refs #20631.Tim Graham
Thanks MarkusH for the report.
2014-07-04Fixed #20631 -- Increased the default EmailField max_length to 254.Tim Graham
Thanks pmartin for the report.
2014-05-16Fixed #22579 -- Corrected validation for email to reject trailing slashErik Romijn
Thanks to Claude Paroz for the report and patch and Tomasz Paczkowski for the review.
2014-05-08Fixed #22588 -- Fix RegexValidator __eq__David Szotten
Compare parameters instead of re.pattern instances, and add the other parameters to the comparison. Also add a __ne__ to make assertNotEqual work properly.
2014-04-26Fix many many typos in comments throughout the codebaseAlex Gaynor
2014-03-21Fixed #22255 -- Added support for specifying re flags in RegexValidatorDejan Noveski
2014-02-22Fixed #22123 -- EmailValidator now also accepts IPv6 literals in addressesErik Romijn
2014-02-10Fixed #20784 -- Added inverse_match parameter to RegexValidator.Si Feng
2014-01-19Fixed #21638: Validators are now comparable, stops infinite user mig'nsAndrew Godwin
2013-12-28Fixed #21242 -- Allowed more IANA schemes in URLValidatorClaude Paroz
Thanks Sascha Peilicke for the report and initial patch, and Tim Graham for the review.
2013-11-02Fixing E302 ErrorsJason Myers
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-10-23Fixed #12027 -- Fixed EmailValidator to reject a trailing dot.Tim Graham
Thanks Klas H for the report and claudep for the patch.
2013-10-23Fixed #21298 -- Fixed E301 pep8 warningsAlasdair Nicol
2013-10-22Removed import * in tests.Tim Graham
Thanks to flake8 path/to/file.py | awk -F ' ' '{ print $5 }' | sort | uniq
2013-10-11Fixed errors in 848101bf1736d1c01eb86968e85a14c7466bb376Tim Graham
2013-10-11Added tests for URLValidator schemes.Sascha Peilicke
2013-07-21Fixed an email validation regressionClaude Paroz
Thanks Vincent Wagelaar for the report.
2013-07-01Stopped using django.utils.unittest in the test suite.Aymeric Augustin
Refs #20680.
2013-06-18Fixed #20199 -- Allow ModelForm fields to override error_messages from model ↵Loic Bistuer
fields
2013-06-18Refactored ValidationError to allow persisting error params and error codes ↵Loic Bistuer
as the exception bubbles up
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner