summaryrefslogtreecommitdiff
path: root/tests/modeltests/validation
AgeCommit message (Expand)Author
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner
2013-02-23Fixed errors introduced in 21f333bcefccc151d6439246f8203d609ab6ca79. Refs #17751Florian Apolloner
2013-02-23Fix #17751: Added stripping of whitespace for IPAddressField/GenericIPAddress...Erik Romijn
2012-09-07[py3k] Silence many warnings while running the tests.Alex Gaynor
2012-09-01Fixed #18212 -- Standardized arguments of GenericIPAddressFieldClaude Paroz
2012-08-15Made the validation tests python3 friendly.Alex Gaynor
2012-08-12[py3] Refactored __unicode__ to __str__.Aymeric Augustin
2012-08-07Fix a test that relied on an exception outliving the `except` block, which do...Alex Gaynor
2012-06-07Fixed #18269 -- Applied unicode_literals for Python 3 compatibility.Claude Paroz
2012-05-31Fixed #18407 -- Made model field's to_python methods fully accept unicode.Claude Paroz
2012-05-31Rewrote test_error_messages with helper test utility.Claude Paroz
2012-04-29Fixed #18013 -- Use the new 'as' syntax for exceptions.Claude Paroz
2012-03-31Removed deprecated URLField.verify_exists.Aymeric Augustin
2012-03-30Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks...Claude Paroz
2011-11-18Added support for time zones. Thanks Luke Plant for the review. Fixed #2626.Aymeric Augustin
2011-10-31Fixed #16816 -- Tweaked the test mock for `URLField.verify_exists` to allow t...Julien Phalip
2011-10-28Tweaked some `AutoField` tests to not raise wanings in Python>=2.6, where `Ba...Julien Phalip
2011-10-16Made an `AutoField` test more robust.Julien Phalip
2011-10-14Switch several assertNumQueries to use the context manager, which is much mor...Alex Gaynor
2011-10-13Convert all modeltests to use absolute imports, rather than relative ones.Alex Gaynor
2011-10-13Fixed a couple of `assert` syntax warnings mistakingly introduced in r16966 a...Julien Phalip
2011-10-13Fixed #12467 -- Made the model data validation for `DateField` and `DateTimeF...Julien Phalip
2011-09-10Altered the behavior of URLField to avoid a potential DOS vector, and to avoi...Russell Keith-Magee
2011-08-22Improved error message display during validation errors.Malcolm Tredinnick
2011-07-13Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for t...Jannis Leidel
2011-07-04Removed superflous commented-out lines.Ramiro Morales
2011-07-03Renamed a test model field added in [16345] so it doesn't keep the test DB ce...Ramiro Morales
2011-06-13Fixed #16246 -- Fixed GenericIPAddressField tests on PostgreSQL.Jannis Leidel
2011-06-13Shortened some test model names that were introduced in r16366 to fix running...Jannis Leidel
2011-06-11Fixed #811 -- Added support for IPv6 to forms and model fields. Many thanks t...Jannis Leidel
2011-06-10Made `with` statements added in [16348] compatible with Python 2.5.Ramiro Morales
2011-06-09Clean up unique validation tests to not use bare excepts and use assertRaises...Andrew Godwin
2011-06-09Fixed #8913 - Make "must be unique" error messages customisable. Thanks to Le...Andrew Godwin
2011-05-05Fixes #15975 -- Test failure in model validation tests due to us now having h...Chris Beaven
2011-03-16Fixed #15229 -- Improved URLValidator to accept ftp:// links. Thanks, codefis...Adrian Holovaty
2011-03-03Updated test assertions that have been deprecated by the move to unittest2. I...Russell Keith-Magee
2011-01-09Fixed #14951 -- Made the unique_for_{date,month,year} model field constraints...Ramiro Morales
2010-10-12Fixed #5416 -- Added TestCase.assertNumQueries, which tests that a given func...Alex Gaynor
2010-10-11Fixed #12991 -- Added unittest2 support. Thanks to PaulM for the draft patch,...Russell Keith-Magee
2010-09-13Fix a couple of typos in test names and descriptions.Malcolm Tredinnick
2010-08-17Fixed #14102 -- Ensure that fields that have been excluded from a form aren't...Russell Keith-Magee
2010-03-16Fixed #12881: Corrected handling of inherited unique constraints. Thanks for ...Karen Tracey
2010-02-10Fixed #12647. Allow unique_together checks be specified as lists as well as t...Joseph Kocherhans
2010-01-29Tweaked the validation test models to avoid tripping over the fact that Oracl...Karen Tracey
2010-01-21Fixed #12582. Model validation on ForeignKeys now respects limit_choices_to. ...Joseph Kocherhans
2010-01-14Fixed #12560. Changed validate_unique to stop checking null primary key value...Joseph Kocherhans
2010-01-12Fixed #12512. Changed ModelForm to stop performing model validation on fields...Joseph Kocherhans
2010-01-05Merged soc2009/model-validation to trunk. Thanks, Honza!Joseph Kocherhans
2008-08-14Fixed #8206 -- Removed validate methods of Model and Model fields. They are a...Gary Wilson Jr
2008-07-29Fixed #7560 -- Moved a lot of the value conversion preparation forMalcolm Tredinnick