summaryrefslogtreecommitdiff
path: root/tests/generic_relations/tests.py
AgeCommit message (Collapse)Author
2013-10-18Fixed #21287 -- Fixed E123 pep8 warningsAlasdair Nicol
2013-10-18Fixed #21268 -- Fixed E303 pep8 warningsAlasdair Nicol
2013-10-16Fixed #7551 -- Made GFK allow None init argument.Bouke Haarsma
Thanks SamBull for the report.
2013-09-07Fixed #16869 -- BaseGenericInlineFormSet.save_new should use form's save() ↵Pablo Mouzo
method Thanks mattaustin for the report and Pablo Recio (pyriku) for the patch.
2013-08-21Fixed a regression with get_or_create and virtual fields.Tim Graham
refs #20429 Thanks Simon Charette for the report and review.
2013-07-29Removed most of absolute_import importsClaude Paroz
Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
2013-06-05Fixed #17927 -- Added initial values support for BaseGenericInlineFormSetBojan Mihelac
Thanks Fak3 for the suggestion.
2013-05-23Fixed #17648 -- Add `for_concrete_model` to `GenericForeignKey`.Gavin Wahl
Allows a `GenericForeignKey` to reference proxy models. The default for `for_concrete_model` is `True` to keep backwards compatibility. Also added the analog `for_concrete_model` kwarg to `generic_inlineformset_factory` to provide an API at the form level.
2013-05-21Use assertIsInstance in tests.Marc Tamlyn
Gives much nicer errors when it fails.
2013-05-11Fixed #19939 -- generic relations + split_exclude regressionAnssi Kääriäinen
Added a test, the issue was already fixed (likely by the patch for #19385).
2013-05-09Fixed #19733 - deprecated ModelForms without 'fields' or 'exclude', and ↵Luke Plant
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.
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner