summaryrefslogtreecommitdiff
path: root/django/contrib/contenttypes/models.py
AgeCommit message (Expand)Author
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
2012-08-07[py3] Ported django.utils.encoding.Aymeric Augustin
2012-06-08Fixed #18399 – Added a way to get ContentTypes for proxy modelsSimon Charette
2012-02-22Fixed #17678 -- Corrected setup of _meta.proxy_for_model and added _meta.conc...Carl Meyer
2012-02-11Fixed #17256 -- Ensured that content types get cached when retrieved by natur...Julien Phalip
2011-10-12Introduce `ContentType.objects.get_for_models(*models)` and use it in the the...Alex Gaynor
2011-10-07Fixed #17003 - prefetch_related should support foreign keys/one-to-oneLuke Plant
2011-09-23Fixed #16917 -- Don't try to use the model name for a ContentType's unicode r...Carl Meyer
2011-09-16Fixed #16803 -- Use model verbose_name directly as ContentType unicode repres...Carl Meyer
2011-05-22Fixed #16048 -- Use the base manager instead of the default manager to retrie...Jannis Leidel
2011-04-20Fixed #15866, #15850 -- Prevented get_model() and get_models() from returning...Carl Meyer
2010-01-22Fixed #12540, #12541 -- Added database routers, allowing for configurable dat...Russell Keith-Magee
2009-12-22Fixed #1142 -- Added multiple database support.Russell Keith-Magee