summaryrefslogtreecommitdiff
path: root/docs/ref/models
AgeCommit message (Collapse)Author
2016-05-18Fixed #26620 -- Made Model.refresh_from_db() fail when passed unknown kwargs.Marti Raudsepp
2016-05-18Fixed #25774 -- Refactor datetime expressions into public APIJosh Smeaton
2016-05-17Fixed #10506, #13793, #14891, #25201 -- Introduced new APIs to specify ↵Loïc Bistuer
models' default and base managers. This deprecates use_for_related_fields. Old API: class CustomManager(models.Model): use_for_related_fields = True class Model(models.Model): custom_manager = CustomManager() New API: class Model(models.Model): custom_manager = CustomManager() class Meta: base_manager_name = 'custom_manager' Refs #20932, #25897. Thanks Carl Meyer for the guidance throughout this work. Thanks Tim Graham for writing the docs.
2016-05-14Refs #26021 -- Used hanging indentation in some doc examples.Tim Graham
2016-05-08Fixed #26483 -- Updated docs.python.org links to use Intersphinx.Tim Graham
2016-05-07Fixed #26508 -- Clarified docs for various FieldFile methods.Tobias McNulty
2016-05-04Fixed #22936 -- Obsoleted Field.get_prep_lookup()/get_db_prep_lookup()Claude Paroz
Thanks Tim Graham for completing the initial patch.
2016-05-03Normalized "an SQL" spelling.Ville Skyttä
2016-05-03Fixed #26567 -- Updated references to obsolete RFC2616.Vasiliy Faronov
Didn't touch comments where it wasn't obvious that the code adhered to the newer standard.
2016-04-29Fixed #26207 -- Replaced dynamic classes with non-data descriptors for ↵Anssi Kääriäinen
deferred instance loading.
2016-04-28Fixed #26554 -- Updated docs URLs to readthedocs.ioTim Graham
2016-04-22Removed unused BaseExpression.refs_aggregate().Tim Graham
Unused since afe0bb7b13bb8dc4370f32225238012c873b0ee3.
2016-04-08Refs #22268 -- Fixed typo in docs/ref/models/querysets.txtTim Graham
2016-04-02Fixed #22268 -- Documented values_list() behavior for multivalued relations.aIacopo Spalletti
Thanks Sai Krishna for the initial patch.
2016-03-31Fixed #26438 -- Fixed multiple .objects typos in the docs.Simon Charette
Thanks Pablo Oubiña for the report.
2016-03-29Fixed #24932 -- Added Cast database function.Claude Paroz
Thanks Ian Foote for the initial patch.
2016-03-29Fixed #25759 -- Added keyword arguments to customize Expressions' as_sql().Kai Feldhoff
2016-03-21Refs #25759 -- Documented customizing expressions' SQL on other databases.Kai Feldhoff
2016-03-12Fixed #26239 -- Added a note about how auto_now works with QuerySet.update().Duane Hilton
2016-03-03Fixed #26321 -- Added missing "for_save" parameter in expressions example.Tim Graham
Thanks tomaszn for the patch.
2016-03-03Fixed #26310 -- Documented that a queryset ordering must be specified to ↵Tim Graham
ensure ordered results. Thanks Simon Charette for review.
2016-03-02Refs #19527 -- Fixed typo in docs/ref/models/querysets.txt.Tim Graham
2016-03-02Fixed #26285 -- Deprecated the MySQL-specific __search lookup.Marc Tamlyn
2016-03-02Refs #19527 -- Allowed QuerySet.bulk_create() to set the primary key of its ↵acrefoot
objects. PostgreSQL support only. Thanks Vladislav Manchev and alesasnouski for working on the patch.
2016-03-01Fixed typos in docs/ref/models/meta.txt.Taranjeet
2016-02-29Fixed #26186 -- Documented how app relative relationships of abstract models ↵Simon Charette
behave. This partially reverts commit bc7d201bdbaeac14a49f51a9ef292d6312b4c45e. Thanks Tim for the review. Refs #25858.
2016-02-27Fixed #26230 -- Made default_related_name affect related_query_name.chenesan
2016-02-26Fixed #25279 -- Made prefetch_related_objects() public.Adam Chainz
2016-02-21Fixed #26238 -- Raised explicit error for non-editable field in ModelFormClaude Paroz
Thanks Luke Crouch for the report and Simon Charette for the review.
2016-02-17Fixed #25687 -- Documented how to add database function support to ↵Tim Graham
third-party backends. Thanks Kristof Claes for the initial patch.
2016-02-10Fixed #26154 -- Deprecated CommaSeparatedIntegerFieldBrobin
2016-02-01Unified some doc links to OneToOneField and ManyToManyField.Tim Graham
2016-02-01Fixed #26124 -- Added missing code formatting to docs headers.rowanv
2016-01-28Fixed #25354 -- Added class/app_label interpolation for related_query_name.James Pulec
2016-01-22Fixed #26020 -- Normalized header stylings in docs.Elif T. Kus
2016-01-14Fixed #26078 -- Clarified "old vs. new" in model._meta upgrade guide.Tim Graham
Thanks Thomas Güttler for the suggestion.
2016-01-11Added missing period to "etc.".pp
2015-12-31Fixed #26013 -- Moved django.core.urlresolvers to django.urls.Marten Kenbeek
Thanks to Tim Graham for the review.
2015-12-26Fixed #8065 -- Made id_list an optional argument for QuerySet.in_bulk().Bryan Marty
2015-12-25Fixed #14286 -- Added models.BigAutoField.Alexander Sosnovskiy
2015-12-24Discouraged use of /tmp with predictable names.Chris Lamb
The use of predictable filenames in /tmp often leads to symlink attacks so remove the most obvious use of them in the docs.
2015-12-04Fixed #13774 -- Added models.Field.rel_db_type().Alexander Sosnovskiy
2015-12-03Fixed typo in docs/ref/models/instances.txtQile Wang
2015-12-01Fixed #25778 -- Updated docs links to use https when available.Jon Dufresne
2015-11-30Removed old versionadded/changed directives.Sergey Fedoseev
2015-11-24Clarified default value for DateField to emulate auto_now_add.Bulgantamir Gankhuyag
2015-11-19Corrected GenericIPAddressField protocol parameter doc.areski
2015-11-12Replaced "inbuilt" with more common "built-in".Tim Graham
2015-11-03Fixed #25132 -- Documented how to retrieve a single value using ↵Alex Morozov
values_list() and get().
2015-11-02Refs #25629 -- Added `arity` class attribute to `Func` expressionsSergey Fedoseev