| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-12-11 | Noted testing uses for ContentTypeManager.clear_cache() method. | Carlton Gibson | |
| It is often necessary to reset the cache between tests, or after preparing test state, when using content types. Django's test suite already does this when needed, but users will need to do similar in their own tests. | |||
| 2025-10-29 | Fixed #36329 -- Removed non-code custom link text when cross-referencing ↵ | Clifford Gama | |
| Python objects. Thanks Bruno Alla, Sarah Boyce, and Jacob Walls for reviews. Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | |||
| 2025-09-13 | Fixed typo in docs/ref/contrib/contenttypes.txt. | Jacob Walls | |
| 2025-08-25 | Refs #36485 -- Rewrapped docs to 79 columns line length. | David Smith | |
| Lines in the docs files were manually adjusted to conform to the 79 columns limit per line (plus newline), improving readability and consistency across the content. | |||
| 2025-08-25 | Refs #36485 -- Removed unnecessary parentheses in :meth: and :func: roles in ↵ | David Smith | |
| docs. | |||
| 2025-01-15 | Removed versionadded/changed annotations for 5.1. | Sarah Boyce | |
| This also removes remaining versionadded/changed annotations for older versions. | |||
| 2025-01-02 | Fixed #36037 -- Fixed default primary key type in docs. | Ari Pollak | |
| BigAutoField is the default type for primary keys. In models.txt, the linked anchor shows that the default primary key is a BigAutoField, so it now defers to that section instead of duplicating an (incorrect) type. | |||
| 2024-05-22 | Removed versionadded/changed annotations for 5.0. | Natalia | |
| This also removes remaining versionadded/changed annotations for older versions. | |||
| 2024-05-04 | Fixed #35426 -- Updated querysets to be a required argument of GenericPrefetch. | sobolevn | |
| 2024-02-05 | Fixed #16281 -- Fixed ContentType.get_object_for_this_type() in a multiple ↵ | Ben Cail | |
| database setup. | |||
| 2023-10-07 | Added missing import in docs/ref/contrib/contenttypes.txt. | sage | |
| 2023-09-18 | Fixed #33651 -- Added support for prefetching GenericForeignKey. | Clément Escolano | |
| Co-authored-by: revanthgss <revanthgss@almabase.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2023-03-01 | Fixed #34140 -- Reformatted code blocks in docs with blacken-docs. | django-bot | |
| 2023-02-10 | Refs #34140 -- Applied rst code-block to non-Python examples. | Carlton Gibson | |
| Thanks to J.V. Zammit, Paolo Melchiorre, and Mariusz Felisiak for reviews. | |||
| 2022-04-29 | Refs #23435 -- Added note about GenericForeignKey indexes to docs. | Steven DeMartini | |
| 2021-09-20 | Removed versionadded/changed annotations for 3.2. | Mariusz Felisiak | |
| 2020-11-06 | Fixed #32045 -- Doc'd GenericRelatedObjectManager methods. | Craig Smith | |
| This also documents that .remove() and clear() methods delete related objects. | |||
| 2020-08-18 | Refs #9061 -- Allowed GenericInlineFormSet to disable deleting extra forms. | Mariusz Felisiak | |
| Follow up to 162765d6c3182e36095d29543e21b44b908625fc. | |||
| 2020-08-18 | Refs #20347 -- Allowed customizing the maximum number of instantiated forms ↵ | Mariusz Felisiak | |
| in generic_inlineformset_factory(). Follow up to 433dd737f94b09043f64b873b0ac067b3f97364b. | |||
| 2020-05-04 | Refs #30573 -- Rephrased "Of Course" and "Obvious(ly)" in documentation and ↵ | Adam Johnson | |
| comments. | |||
| 2019-09-06 | Fixed #30573 -- Rephrased documentation to avoid words that minimise the ↵ | Tobias Kunze | |
| involved difficulty. This patch does not remove all occurrences of the words in question. Rather, I went through all of the occurrences of the words listed below, and judged if they a) suggested the reader had some kind of knowledge/experience, and b) if they added anything of value (including tone of voice, etc). I left most of the words alone. I looked at the following words: - simply/simple - easy/easier/easiest - obvious - just - merely - straightforward - ridiculous Thanks to Carlton Gibson for guidance on how to approach this issue, and to Tim Bell for providing the idea. But the enormous lion's share of thanks go to Adam Johnson for his patient and helpful review. | |||
| 2019-01-21 | Corrected GenericRelation's related_query_name manual lookup example. | Pavel Savchenko | |
| And changed related_query_name to a singular noun. | |||
| 2018-11-09 | Fixed #29941 -- Fixed missing variable in docs/ref/contrib/contenttypes.txt. | Tim Graham | |
| Regression in b47552b445547e60cc89213f79e02333cb63f270. | |||
| 2018-05-12 | Alphabetized imports in various docs. | Mariusz Felisiak | |
| Follow-up of d97cce34096043b019e818a7fb98c0f9f073704c and 7d3fe36c626a3268413eb86d37920f132eb4a54f. | |||
| 2017-10-20 | Fixed #28613 -- Doc'd the return value for GenericForeignKey when the ↵ | Tim Graham | |
| related object is deleted. | |||
| 2017-01-18 | Refs #23919 -- Removed Python 2 notes in docs. | Tim Graham | |
| 2016-11-15 | Replaced "django" with "Django" in spelling_wordlist. | akki | |
| 2016-05-16 | Removed a redundant example in contenttypes docs. | Tim Graham | |
| 2016-04-07 | Fixed #26477 -- Fixed typo in docs/ref/contrib/contenttypes.txt | Mikkel Munch Mortensen | |
| 2016-01-14 | Fixed #23868 -- Added support for non-unique django-admin-options in docs. | Tim Graham | |
| Also documented missing short command line options to fix #24134. This bumps the minimum sphinx version required to build the docs to 1.3.4. Thanks Simon Charette for review. | |||
| 2015-10-30 | Fixed #24019 -- Fixed inaccurate docs about GenericRelation not supporting ↵ | Tim Graham | |
| aggregation. This works at least as far back as Django 1.6 according to the test added in refs #10870. | |||
| 2015-10-06 | Fixed #25508 -- Modified QuerySet.__repr__() to disambiguate it from a list. | Tim Graham | |
| 2015-09-29 | Made cosmetic cleanups to docs/ref/contrib/contenttypes.txt | Tim Graham | |
| 2015-09-23 | Refs #24099 -- Removed compatibility shim for ContentType.name field. | Tim Graham | |
| 2015-08-10 | Fixed #25160 -- Moved unsaved model instance data loss check to Model.save() | Tim Graham | |
| This mostly reverts 5643a3b51be338196d0b292d5626ad43648448d3 and 81e1a35c364e5353d2bf99368ad30a4184fbb653. Thanks Carl Meyer for review. | |||
| 2015-07-27 | Fixed #21127 -- Started deprecation toward requiring on_delete for ↵ | Flavio Curella | |
| ForeignKey/OneToOneField | |||
| 2015-07-27 | Fixed #25159 -- Removed brackets from class/function/method signatures in docs. | Tim Graham | |
| Thanks hellbeast for the initial patch. | |||
| 2015-03-18 | Fixed #24495 -- Allowed unsaved model instance assignment check to be bypassed. | Karl Hobley | |
| 2015-02-01 | Removed versionadded/changed notes for 1.7. | Tim Graham | |
| 2015-01-18 | Removed contrib.contenttypes.generic per deprecation timeline; refs #19774. | Tim Graham | |
| 2015-01-17 | Removed usage of deprecated dumpdata options in docs. | Tim Graham | |
| 2015-01-16 | Fixed #24099 -- Removed contenttype.name deprecated field | Claude Paroz | |
| This finsishes the work started on #16803. Thanks Simon Charette, Tim Graham and Collin Anderson for the reviews. | |||
| 2014-07-30 | Fixed #23067 -- Updated docs to use django-admin | Christoph Heer | |
| 2014-05-15 | Fixed #17642 -- Added min_num support to modelformsets, inlines, and the admin. | Anders Steinlein | |
| Thanks Stephen Burrows for work on the patch as well. Forwardport of 2914f66983a92fcae55673c517dd8d01e8c238c4 from stable/1.7.x | |||
| 2014-03-24 | Removed versionadded/changed annotations for 1.6. | Tim Graham | |
| 2014-03-21 | Removed contrib.comments per deprecation timeline. | Tim Graham | |
| 2014-03-05 | Fixed #22207 -- Added support for GenericRelation reverse lookups | Gabe Jackson | |
| 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. | |||
| 2014-02-13 | Fixed #21951 -- Updated docs to use __str__ for Python 3 | Alasdair Nicol | |
| Thanks Tim Graham for the report and recommendations | |||
| 2014-01-26 | Fixed #19774 -- Deprecated the contenttypes.generic module. | Simon Charette | |
| It contained models, forms and admin objects causing undesirable import side effects. Refs #16368. Thanks to Ramiro, Carl and Loïc for the review. | |||
| 2013-09-04 | Fixed #20958 -- Documented that GenericForeignKey fields can't be accessed ↵ | Tim Graham | |
| in forms. Thanks marky1991. | |||
