Claude Paroz
|
865cd35c9b
Made more extensive usage of context managers with open.
|
há 13 anos atrás |
Claude Paroz
|
9383a2761c
Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks jonash for the patch.
|
há 13 anos atrás |
Claude Paroz
|
159d1be656
Fixed #11150 -- Removed dependency on cStringIO in ImageField validation. Thanks vvd for the report.
|
há 13 anos atrás |
Carl Meyer
|
844a24bbb9
Fixed #16921 -- Added assertHTMLEqual and assertHTMLNotEqual assertions, and converted Django tests to use them where appropriate. Thanks Greg Müllegger.
|
há 13 anos atrás |
Alex Gaynor
|
d5a45d79fe
Convert all modeltests to use absolute imports, rather than relative ones.
|
há 13 anos atrás |
Ian Kelly
|
21a449168b
Fixed #16645: fixed a broken test to work in Oracle.
|
há 13 anos atrás |
Ramiro Morales
|
4df45418f2
Fixed #16644 -- Fixed one additional test that was failing in Oracle due to false assumptions about the primary keys of objects. Thanks Aymeric Augustin for report and patch.
|
há 13 anos atrás |
Russell Keith-Magee
|
c013c07ed7
Fixed #16243 -- Corrected test suite failure in model_forms when PIL isn't installed
|
há 13 anos atrás |
Russell Keith-Magee
|
4189561820
Fixed #16210 -- Added some missing __future__ imports to support with statements on 2.5. Thanks to Julien Phalip for the report and patch
|
há 14 anos atrás |
Russell Keith-Magee
|
aa5506d6f6
Fixed #16198 -- Ported the model_forms doctests. Our long national nightmare is over. Oh, and we have always been at war with doctests. Thanks to Peter van Kampen and Gregor Müllegger for the patch.
|
há 14 anos atrás |
Alex Gaynor
|
e5dfc6cf94
Revert [15653], which was absolutely not ready to be committed.
|
há 14 anos atrás |
Alex Gaynor
|
380906b946
Beginnings of test conversion.
|
há 14 anos atrás |
Ramiro Morales
|
730769d1af
Fixed #14951 -- Made the unique_for_{date,month,year} model field constraints to not fail when the related DateField is empty.
|
há 14 anos atrás |
Russell Keith-Magee
|
015d85aee6
Fixed #14102 -- Ensure that fields that have been excluded from a form aren't included in the unique_for_* checks, either. Thanks to Travis Cline for the report and fix.
|
há 14 anos atrás |
Karen Tracey
|
7471dab660
Fixed #13138: Ensure required=False on a model form field overrides
|
há 15 anos atrás |
Karen Tracey
|
47a822207f
Fixed #12881: Corrected handling of inherited unique constraints. Thanks for report fgaudin.
|
há 15 anos atrás |
Joseph Kocherhans
|
e488c1dc0d
Fixed #12901. Again. Model validation will not be performed on excluded fields that were overridden in the form. Thanks, ammarr.
|
há 15 anos atrás |
Joseph Kocherhans
|
eb0751a4c0
Fixed #12901. Exclude overridden form fields from model field validation. Thanks, Honza Král.
|
há 15 anos atrás |