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