Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/validation
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #21127 -- Started deprecation toward requiring ↵Flavio Curella2015-07-281-3/+13
| | | | on_delete for ForeignKey/OneToOneField
* Fixed #24708 -- Handled non-string values in ↵Pradeek2015-05-061-0/+9
| | | | GenericIPAddressField.to_python()
* Fixed #24714 -- Used more specific assertions than ↵Alasdair Nicol2015-04-282-4/+4
| | | | assertEqual in tests.
* Sorted imports with isort; refs #23860.Tim Graham2015-02-062-5/+8
|
* Fixed typos using https://github.com/vlajos/misspell_fixerVeres Lajos2014-11-041-1/+1
|
* Fixed #22935 -- Changed ↵Anubhav Joshi2014-07-022-1/+7
| | | | | | ForeignKey.default_error_messages['invalid'] to refer to correct field. Thanks Tim Graham for suggestion and review.
* Fixed #22539 -- Copied exclude argument in ↵Yehonatan Daniv2014-05-012-2/+9
| | | | Model.full_clean() to prevent side effects.
* Fixed #16905 -- Added extensible checks (nee validation) ↵Russell Keith-Magee2014-01-201-5/+0
| | | | | | | | | | | framework This is the result of Christopher Medrela's 2013 Summer of Code project. Thanks also to Preston Holmes, Tim Graham, Anssi Kääriäinen, Florian Apolloner, and Alex Gaynor for review notes along the way. Also: Fixes #8579, fixes #3055, fixes #19844.
* Renamed AppCache to Apps.Aymeric Augustin2013-12-241-2/+2
| | | | | | Also renamed app_cache to apps and "app cache" to "app registry". Deprecated AppCache.app_cache_ready() in favor of Apps.ready().
* Moved apps back in the toplevel django namespace.Aymeric Augustin2013-12-221-1/+1
| | | | Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2.
* Deborgified the app cache.Aymeric Augustin2013-12-171-2/+2
| | | | | | | | | | | | | Improved Andrew's hack to create temporary app caches to handle migrations. Now the main app cache has a "master" flag set to True (which is a non-default keyword argument, thus unlikely to be used by mistake). Other app cache instances have "master" set to False. The only sanctioned way to access the app cache is by importing django.core.apps.app_cache. If you were instanciating an app cache and relying on the Borg pattern, you'll have to refactor your code.
* Moved the new app cache inside core.Aymeric Augustin2013-12-171-1/+1
|
* Moved django.db.models.loading to django.apps.cache.Aymeric Augustin2013-12-171-1/+1
| | | | This commit doesn't contain any code changes; it's purely a refactoring.
* Fixed #21555 -- Made ValidationError pickable.Loic Bistuer2013-12-071-0/+41
| | | | Thanks trac username zanuxzan for the report and original patch.
* Fixed #21469 -- Allow set objects in Meta.unique_together.Baptiste Mispelon2013-11-201-1/+35
| | | | Thanks to Tim for the review.
* Fixing E302 ErrorsJason Myers2013-11-033-1/+16
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Fix all violators of E231Alex Gaynor2013-10-262-4/+4
|
* Start attacking E231 violationsAlex Gaynor2013-10-241-5/+5
|
* Fixed E225 pep8 warnings.Tim Graham2013-10-231-1/+1
|
* Fixed E221 pep8 warnings.Tim Graham2013-10-221-1/+1
|
* Removed unused local variables in tests.Tim Graham2013-10-191-3/+3
|
* Fixed #21287 -- Fixed E123 pep8 warningsAlasdair Nicol2013-10-181-2/+2
|
* Whitespace cleanup.Tim Graham2013-10-103-3/+0
| | | | | | | * Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs.
* Removed most of absolute_import importsClaude Paroz2013-07-294-5/+3
| | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
* Stopped using django.utils.unittest in the test suite.Aymeric Augustin2013-07-012-2/+3
| | | | Refs #20680.
* Fixed #20594 -- Add validation to models.SlugField.Baptiste Mispelon2013-06-132-1/+6
| | | | Thanks carbonXT for the report.
* Fixed #20484 -- Added model validation for ↵Tim Graham2013-05-282-6/+12
| | | | | | | | GenericIPAddressField GenericIPAddressField must not allow blank for NOT NULL fields Thanks Erik Romijn.
* Fixed #17365, #17366, #18727 -- Switched to discovery ↵Carl Meyer2013-05-111-6/+0
| | | | | | | | | | | test runner. Thanks to Preston Timmons for the bulk of the work on the patch, especially updating Django's own test suite to comply with the requirements of the new runner. Thanks also to Jannis Leidel and Mahdi Yusuf for earlier work on the patch and the discovery runner. Refs #11077, #17032, and #18670.
* Modified validation to work with unittest2 discovery.Preston Timmons2013-04-122-1/+1
|
* Add a specific error message for URLValidatorClaude Paroz2013-03-141-1/+1
|
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-267-0/+567