Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/generic_relations/models.py
Commit message (Collapse)AuthorAgeFilesLines
* Refs #19722 -- Added a test for querying generic ↵Tim Graham2015-10-081-0/+4
| | | | | | relations of a parent class. Fixed in c9a96075fa02b6d52bec748ffdfb413688a15774.
* Refs #13203, #9501 -- Added a test for generic relations ↵Tim Graham2015-10-021-0/+4
| | | | | | to child models. Fixed in 97774429aeb54df4c09895c07cd1b09e70201f7d.
* Fixed #21127 -- Started deprecation toward requiring ↵Flavio Curella2015-07-281-6/+6
| | | | on_delete for ForeignKey/OneToOneField
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-1/+1
|
* Fixed #24099 -- Removed contenttype.name deprecated fieldClaude Paroz2015-01-161-1/+1
| | | | | | This finsishes the work started on #16803. Thanks Simon Charette, Tim Graham and Collin Anderson for the reviews.
* Removed numbering from the models.py header of some test ↵Loic Bistuer2014-09-241-1/+1
| | | | | | packages. This is a reliqua from the early days of the modeltests/regressiontests era.
* Fixed #22207 -- Added support for GenericRelation ↵Gabe Jackson2014-03-051-2/+2
| | | | | | | | | | | reverse lookups GenericRelation now supports an optional related_query_name argument. Setting related_query_name adds a relation from the related object back to the content type for filtering, ordering and other query operations. Thanks to Loic Bistuer for spotting a couple of important issues in his review.
* Fixed #19774 -- Deprecated the contenttypes.generic module.Simon Charette2014-01-261-15/+17
| | | | | | | It contained models, forms and admin objects causing undesirable import side effects. Refs #16368. Thanks to Ramiro, Carl and Loïc for the review.
* Fixed #7551 -- Made GFK allow None init argument.Bouke Haarsma2013-10-161-0/+7
| | | | Thanks SamBull for the report.
* Fixed #21217 -- Avoid connecting `(pre|post)_init` ↵Simon Charette2013-10-041-7/+23
| | | | signals to abstract senders.
* Fixed #20895 -- Made check management command warn if a ↵Alasdair Nicol2013-08-161-1/+1
| | | | | | | BooleanField does not have a default value Thanks to Collin Anderson for the suggestion and Tim Graham for reviewing the patch.
* Fixed #17648 -- Add `for_concrete_model` to ↵Gavin Wahl2013-05-241-0/+19
| | | | | | | | | | | `GenericForeignKey`. 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.
* Fixed #19939 -- generic relations + split_exclude regressionAnssi Kääriäinen2013-05-111-0/+4
| | | | | Added a test, the issue was already fixed (likely by the patch for #19385).
* Fixed #15363 -- Renamed and normalized to `get_queryset` ↵Loic Bistuer2013-03-081-2/+2
| | | | the methods that return a QuerySet.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-261-0/+100