Nick Sandford
|
93e79b45bc
Fixed #17416 -- Added widgets argument to inlineformset_factory and modelformset_factory
|
12 年之前 |
Aymeric Augustin
|
bdca5ea345
[py3] Replaced unicode/str by six.text_type/bytes.
|
12 年之前 |
Claude Paroz
|
4a103086d5
Fixed #18269 -- Applied unicode_literals for Python 3 compatibility.
|
12 年之前 |
Carl Meyer
|
844a24bbb9
Fixed #16921 -- Added assertHTMLEqual and assertHTMLNotEqual assertions, and converted Django tests to use them where appropriate. Thanks Greg Müllegger.
|
13 年之前 |
Alex Gaynor
|
d5a45d79fe
Convert all modeltests to use absolute imports, rather than relative ones.
|
13 年之前 |
Ramiro Morales
|
bf05da876a
Fixed #8160 -- Made sure `modelformset_factory` takes in account `fields' and `exclude` ModelForm options.
|
13 年之前 |
Jannis Leidel
|
24f4764a48
Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for the work on the patch and Alex for reviewing.
|
13 年之前 |
Ian Kelly
|
9e637d3061
Fixed a number of tests that were failing in Oracle due to false assumptions about the primary keys of objects.
|
14 年之前 |
Ian Kelly
|
d9e61a435a
Added a skip for a test that fails in Oracle. Unlike other backends, Oracle does not allow duplicate rows where there is a unique_together constraint for which some but not all of the columns are NULL.
|
14 年之前 |
Russell Keith-Magee
|
afd040d4d3
Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
|
14 年之前 |
Ramiro Morales
|
0b8b60caca
Modified wrong expected model formset output in a couple of additional tests after fix introduced in [15424]. Refs #15167.
|
14 年之前 |
Alex Gaynor
|
5bc0ec4ec4
Removed all usages of deprecated TestCase methods (self.fail*). This removed most of the Warnings emitted (with -Wall) during the test suite.
|
14 年之前 |
Russell Keith-Magee
|
9b45f6cd54
Migrated model_formsets doctests. Thanks to Gregor Müllegger for the patch.
|
14 年之前 |
Jannis Leidel
|
9555f2be9d
Fixed #12692 - Properly handle the extra clause of admin inline formsets. Also fixes #12703, second error.
|
15 年之前 |
Karen Tracey
|
bb31cf37ff
Replace test use of assertTrue with failUnless. No matter how many times we try, Python 2.3 still doesn't recognize assertTrue.
|
16 年之前 |
Joseph Kocherhans
|
dc832d7753
Fixed some silly assumptions about pk's that broke the test suite under postgresql.
|
16 年之前 |
Joseph Kocherhans
|
15becf23a9
Forms in model formsets and inline formsets can now be deleted even if they don't validate. Related to #9587.
|
16 年之前 |