summaryrefslogtreecommitdiff
path: root/tests/generic_relations
AgeCommit message (Collapse)Author
2013-08-15[1.6.x] Fixed #20895 -- Made check management command warn if a BooleanField ↵Alasdair Nicol
does not have a default value Thanks to Collin Anderson for the suggestion and Tim Graham for reviewing the patch. Backport of 22c6497f99 from master
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-03-08Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that ↵Loic Bistuer
return a QuerySet.
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner