summaryrefslogtreecommitdiff
path: root/django/contrib/contenttypes/models.py
AgeCommit message (Expand)Author
2015-02-16[1.8.x] Refs #24299 -- Made contenttypes migrations signal handler more robust.Sergey Fedoseev
2015-02-09[1.8.x] Sorted 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
2009-12-14Fixed #7052 -- Added support for natural keys in serialization.Russell Keith-Magee
2009-04-11Fixed #10738 -- Fixed content type values for deferred and proxy models.Malcolm Tredinnick
2008-03-10Beefed up caching of ContentType lookups by adding ContentType.objects.get_fo...Jacob Kaplan-Moss
2007-09-15Fixed #5177 -- Changed content type creation to also remove the types for any...Malcolm Tredinnick
2007-08-05Fixed #2101 -- Renamed `maxlength` argument to `max_length` for oldforms `For...Gary Wilson Jr
2007-07-04Merged Unicode branch into trunk (r4952:5608). This should be fullyMalcolm Tredinnick
2007-03-11Added {{{ContentType.objects.clear_cache()}}} which clears the lookup cache. ...Jacob Kaplan-Moss
2007-01-12Fixed #1717: ContentType.objects.get_for_manager() is now cached for a small ...Jacob Kaplan-Moss
2006-06-20Tightened up code in django.contrib.contenttypes.models.ContentTypeManager.ge...Adrian Holovaty
2006-05-15Fixed #1864 -- Changed ContentType repr to strAdrian Holovaty
2006-05-02MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompa...Adrian Holovaty