summaryrefslogtreecommitdiff
path: root/django/contrib/contenttypes/models.py
AgeCommit message (Expand)Author
2026-02-21Fixed #36935 -- Added fallback in ContentType.app_labeled_name when model_cla...Marco Aurélio da Rosa Haubrich
2024-06-24Fixed #35545, Refs #32833 -- Fixed ContentTypeManager.get_for_models() crash ...Sarah Boyce
2024-02-05Fixed #16281 -- Fixed ContentType.get_object_for_this_type() in a multiple da...Ben Cail
2023-03-09Fixed #33985 -- Used app_config.verbose_name in ContentType.__str__().Hrushikesh Vaidya
2022-10-10Fixed #32833 -- Fixed ContentTypeManager.get_for_models() crash when using in...Sarah Boyce
2022-03-15Removed unnecessary _connector from Q construction in get_for_models().Mariusz Felisiak
2022-03-14Fixed #31357 -- Fixed get_for_models() crash for stale content types when mod...Biel Frontera
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2020-05-04Refs #30573 -- Rephrased "Of Course" and "Obvious(ly)" in documentation and c...Adam Johnson
2019-11-05Fixed #30947 -- Changed tuples to lists in model Meta options in django.contr...Jon Dufresne
2019-02-07Fixed #16027 -- Added app_label to ContentType.__str__().Gregory N. Schmit
2018-11-09Removed unused variables.Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి)
2017-09-07Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."Tim Graham
2017-06-28Fixed #27818 -- Replaced try/except/pass with contextlib.suppress().Mads Jensen
2017-04-27Refs #27795 -- Replaced many force_text() with str()Claude Paroz
2017-02-07Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz
2017-02-04Refs #27656 -- Updated django.contrib docstring verb style according to PEP 257.Anton Samarchyan
2017-02-01Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments.Vytis Banaitis
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-18Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-13Fixed #27709 -- Fixed get_for_models() for proxies with an empty cache.Simon Charette
2016-09-06Fixed #24865 -- Added remove_stale_contenttypes management command.Tim Graham
2016-05-15Fixed #24075 -- Used post-migration models in contrib apps receivers.Simon Charette
2016-04-29Fixed #26207 -- Replaced dynamic classes with non-data descriptors for deferr...Anssi Kääriäinen
2016-02-26Fixed #26286 -- Prevented content type managers from sharing their cache.Simon Charette
2015-09-23Refs #24099 -- Removed compatibility shim for ContentType.name field.Tim Graham
2015-06-24Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham
2015-02-16Refs #24299 -- Made contenttypes migrations signal handler more robust.Sergey Fedoseev
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-01-16Fixed #24099 -- Removed contenttype.name deprecated fieldClaude Paroz
2015-01-08Removed unneeded smart_text callsClaude Paroz
2014-12-15Fixed #23822 -- Added support for serializing model managers in migrationMarkus Holtermann
2014-10-29Limited lines to 119 characters in django/{contrib,db}.Berker Peksag
2014-09-05Fixed #22411: Throw a more helpful error if contenttypes doesn't exist.Andrew Godwin
2014-06-16Added database migration for contrib.contenttypes.Tim Graham
2014-05-29Fixed #20401 -- ContentTypeManager.get_for_model reads from db_for_read.Antonis Christofides
2013-12-28Changed get_model to raise an exception on errors.Aymeric Augustin
2013-12-28Stopped calling apps.get_model with only_installed=False.Aymeric Augustin
2013-12-24Renamed AppCache to Apps.Aymeric Augustin
2013-12-22Moved apps back in the toplevel django namespace.Aymeric Augustin
2013-12-17Moved the new app cache inside core.Aymeric Augustin
2013-12-17Removed module-level functions for the app cache.Aymeric Augustin
2013-11-03Fixed flake8 E251 violationsMilton Mazzarri
2013-10-31Started attackign the next flake8 violationAlex Gaynor
2013-05-21(Re-)moved some importsClaude Paroz
2013-05-18Fix NoneType error when fetching a stale ContentType with get_for_idDiederik van der Boor
2013-02-05Fixed #19689 -- Renamed `Model._meta.module_name` to `model_name`.Simon Charette
2012-08-12[py3] Refactored __unicode__ to __str__.Aymeric Augustin