| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-02-25 | Fixed #36839 -- Warned when model renames encounter conflicts from stale ↵ | AbhimanyuGit2507 | |
| ContentTypes. | |||
| 2025-10-18 | Fixed #21961 -- Added support for database-level delete options for ForeignKey. | Mariusz Felisiak | |
| Thanks Simon Charette for pair programming. Co-authored-by: Nick Stefan <NickStefan12@gmail.com> Co-authored-by: Akash Kumar Sen <71623442+Akash-Kumar-Sen@users.noreply.github.com> Co-authored-by: Simon Charette <charette.s@gmail.com> | |||
| 2025-08-16 | Refs #31123 -- Simplified create_contentypes(). | Nick Pope | |
| Since 142ab6846ac09d6d401e26fc8b6b988a583ac0f5 get_contenttypes_and_models() function was only used in this module and we only needed the model names, not the content type objects themselves. | |||
| 2024-05-10 | Fixed #35429 -- Added argparse choices to --database options. | SaJH | |
| 2024-01-08 | Fixed #33481 -- Clarified remove_stale_contenttypes data loss warning. | syed waheed | |
| 2023-01-20 | Added short description to remove_stale_contenttypes command. | touhf | |
| 2022-07-31 | Fixed warnings per flake8 5.0.0. | Mariusz Felisiak | |
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2022-01-11 | Fixed #13251 -- Made pre/post_delete signals dispatch the origin. | mgaligniana | |
| 2020-06-01 | Reverted "Refs #23919 -- Removed obsolete __init__.py files in management ↵ | René Fleschenberg | |
| command directories." This reverts commit ccc25bfe4f0964a00df3af6f91c2d9e20159a0c2. https://groups.google.com/d/topic/django-developers/GVHMH2ciAnk/discussion | |||
| 2020-04-27 | Refs #18325 -- Removed unnecessary line endings in management commands. | François Freitag | |
| The OutputWrapper automatically adds \n when it’s not present. | |||
| 2020-03-19 | Fixed #31123 -- Added --include-stale-apps option to the ↵ | gowthamk63 | |
| remove_stale_contenttypes management command. Co-Authored-By: Javier Buzzi <buzzi.javier@gmail.com> | |||
| 2020-02-04 | Simplified imports from django.db and django.contrib.gis.db. | Nick Pope | |
| 2019-07-02 | Fixed typos in comments and docs. | Min ho Kim | |
| 2019-06-06 | Fixed #29706 -- Made RenameContentType._rename() save to the correct database. | Hasan Ramezani | |
| 2018-07-10 | Fixed #29556 -- Made 'remove_stale_contenttypes --noinput' delete content types. | Jon Dufresne | |
| 2018-07-02 | Removed parser.add_arguments() arguments that match the defaults. | Claude Paroz | |
| 2018-01-12 | Fixed #28996 -- Simplified some boolean constructs and removed trivial ↵ | Дилян Палаузов | |
| continue statements. | |||
| 2018-01-03 | Refs #23919 -- Removed obsolete __init__.py files in management command ↵ | я котик пур-пур | |
| directories. | |||
| 2017-09-13 | Removed unnecessary parens in various code. | Mariusz Felisiak | |
| 2017-08-22 | Fixed incorrect indentation in remove_stale_contenttypes. | Nick Pope | |
| It's unnecessary for content_type_display to be constructed from ct_info in every loop iteration. | |||
| 2017-06-16 | Fixed #26936 -- Fixed stale ContentType deletion in apps without models. | Pavel Rybintsev | |
| 2017-04-01 | Removed implicit default store_true/false argparse args. | Jon Dufresne | |
| argparse automatically sets the default value for store_true/false arguments to its opposite. | |||
| 2017-02-04 | Refs #27656 -- Updated django.contrib docstring verb style according to PEP 257. | Anton Samarchyan | |
| 2017-01-25 | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | |
| 2017-01-18 | Refs #23919 -- Removed most of remaining six usage | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2016-09-06 | Fixed #24865 -- Added remove_stale_contenttypes management command. | Tim Graham | |
| Thanks Simon Charette for the review. | |||
