summaryrefslogtreecommitdiff
path: root/tests/inline_formsets
Commit message (Collapse)AuthorAgeFilesLines
* Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak2022-02-071-1/+4
|
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-072-74/+84
|
* Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand2017-01-251-1/+1
|
* Refs #23919 -- Removed six.<various>_types usageClaude Paroz2017-01-181-3/+2
| | | | Thanks Tim Graham and Simon Charette for the reviews.
* Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz2017-01-181-3/+0
|
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-182-3/+0
|
* Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne2016-06-161-5/+5
|
* Fixed #21332, #26538 -- Fixed inconsistent and duplicate form fields on ↵David Sanders2016-04-261-1/+30
| | | | inline formsets.
* Fixed #25987 -- Made inline formset validation respect unique_together with ↵Simon Charette2016-03-262-0/+17
| | | | | | an unsaved parent object. Thanks Anton Kuzmichev for the report and Tim for the review.
* Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as ↵Hasan2016-01-291-11/+5
| | | | appropriate.
* Refs #26022 -- Used context manager version of assertRaises in tests.Hasan2016-01-291-5/+3
|
* Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella2015-07-271-4/+4
| | | | ForeignKey/OneToOneField
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-1/+1
|
* Harmonized some PEP 0263 coding preamblesClaude Paroz2014-05-151-1/+1
|
* Fixed #17713 -- Renamed BaseDatabaseFeatures.allows_primary_key_0 to ↵Vajrasky Kok2014-02-061-1/+1
| | | | | | | | | allows_auto_pk_0. MySQL does allow primary key with value 0. It only forbids autoincrement primary key with value 0. Thanks Claude Paroz for the report.
* Fixed #16905 -- Added extensible checks (nee validation) frameworkRussell Keith-Magee2014-01-201-4/+5
| | | | | | | | | 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.
* Fixed E124 pep8 warnings.Loic Bistuer2013-12-101-3/+6
|
* Fixed some flake8 issuesAlex Gaynor2013-11-221-1/+1
|
* Fixed #21472 -- Fixed inline formsets display when parent pk is 0Claude Paroz2013-11-201-1/+10
| | | | Thanks agale031176@gmail.com for the report.
* PEP8 cleanupJason Myers2013-11-021-0/+4
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Removed most of absolute_import importsClaude Paroz2013-07-291-1/+1
| | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
* Fixed #19733 - deprecated ModelForms without 'fields' or 'exclude', and ↵Luke Plant2013-05-091-5/+5
| | | | | | | | added '__all__' shortcut This also updates all dependent functionality, including modelform_factory and modelformset_factory, and the generic views `ModelFormMixin`, `CreateView` and `UpdateView` which gain a new `fields` attribute.
* Renamed some tests and removed references to modeltests/regressiontests.Florian Apolloner2013-02-261-3/+3
|
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-263-0/+190