summaryrefslogtreecommitdiff
path: root/docs/ref/models
AgeCommit message (Collapse)Author
2017-03-15[1.10.x] Fixed incorrect import in docs/ref/models/expressions.txt.lb1c
Backport of 36f2262741311159e5c13eb5114fb9e902e2df31 from master
2016-12-27Used a nontemporal example in QuerySet.bulk_create() in docs.Tim Graham
2016-12-17[1.10.x] Made cosmetic edits to the "What happens when you save?" docs.Tim Graham
Backport of e2112a5e1af001449f0d1c183261369f00e93195 from master
2016-12-14[1.10.x] Added Prefetch import to first use in QuerySet docs.Perry Roper
Backport of 3be2268992767d203159818c5353f959360808a7 from master
2016-11-30[1.10.x] Replaced RawSQL with Cast in Coalesce doc example.Simon Charette
Backport of ad8f6a45eb44dbf527f915246883034c8554754c from master
2016-11-21[1.10.x] Fixed #27511 -- Corrected Field.related_model docs about ↵Tim Graham
GenericRelation. Backport of 55adfc076030fc6be2c8d459c4c0a5c91cd4c94c from master
2016-11-17[1.10.x] Fixed #27482 -- Doc'd an example of Case() in QuerySet.filter().Jonatas CD
Backport of b28c6ca7631e13ea29490bf51a367ab10198c74c from master
2016-11-15[1.10.x] Fixed #26985 -- Doc'd that ForeignKey.to_field reference must be ↵Jonatas CD
unique. Backport of 9da45ff352db1d1b7c64e5c724e9b0b31822b967 from master
2016-11-09[1.10.x] Inlined a note in docs/ref/models/expressions.txt.Tim Graham
Backport of 0d6c7cae7c4bc3ecd12c5a0d929384f3aa3e90d1 from master
2016-11-09[1.10.x] Fixed #27414 -- Doc'd that F() expressions on relations return pk ↵Jop Reyntjes
values. Backport of f8fab6f90233c7114d642dfe01a4e6d4cb14ee7d from master
2016-10-25[1.10.x] Updated postgresql.org links to https and made them canonical.Marti Raudsepp
Backport of 51fbe2a60d9c7ff3fe62688ad262ccda648f506d from master
2016-10-13[1.10.x] Fixed #27342 -- Corrected QuerySet.update_or_create() example.Tim Graham
Backport of 51b83d9e5113ea5b81d04f4d117bd5acd3c1b822 from master
2016-10-07[1.10.x] Fixed #25475 -- Doc'd how to use a literal % in Func.template.Tim Graham
Backport of c60feb6999f83bfd1fdabff01f0dd4a26d72e158 from master
2016-10-07[1.10.x] Doc'd that model instances with pk=None don't compare equal.Adam Chainz
Backport of 224fe22bf1628c1feff110ce993dcb33880bf3a3 from master
2016-09-30[1.10.x] Updated links to the current version of MySQL docs.Tim Graham
Backport of 98196766769c2ed8816772b60a2e8b79028963a2 from master
2016-09-17[1.10.x] Corrected docs for return type of Field.formfield().zhuanyenan
Backport of 17677d510f65012531a5af57fd056fb15cfe1067 from master
2016-09-12[1.10.x] Fixed #27209 -- Fixed typo in docs/ref/models/database-functions.txt.Simon Charette
Thanks Valentin Ignatyev for the report. Backport of 767ba009764c6640b20ea6a6dc6ee2559cc87800 from master
2016-08-19[1.10.x] Fixed #26987 -- Documented using QuerySet.get() without arguments.Abhishek Bera
Backport of f3b601f11a7b56777ac1173a390787d176f95fe3 from master
2016-08-15[1.10.x] Made cosmetic edits to Field.default docs.Victor Oliveira da Silva
Backport of d7804662f8d929a3d363ef7a73e6cad9243acd96 from master
2016-08-12[1.10.x] Fixed #27048 -- Documented that refresh_from_db() doesn't reload ↵Tim Graham
@cached_properties. Backport of 9556005425ca3d1c8c2a0e8b48e228e63a0bdd32 from master
2016-07-25[1.10.x] Fixed #26925 -- Linked aggregation ordering topic from ↵Tim Graham
Meta.ordering docs. Backport of 3aaf6cf0f3288986c4ce56defea26420f8a48534 from master
2016-07-21[1.10.x] Fixed #26899 -- Documented why RawSQL params is a required parameter.petedmarsh
Backport of 7bf3ba0d0c700670d13d7683eec7bd3eb3d4dd1f from master
2016-07-15[1.10.x] Fixed inconsistent indentation in docs/ref/models/options.txtTim Graham
Backport of ba246bd5fe3c3c392cb0a56648542dbca435d107 from master
2016-07-08[1.10.x] Refs #25774 -- Adjusted datetime database function docs field names.Simon Charette
Backport of 90468079ec6f72a1b8b6a908d81d3201a3204b24 from master
2016-07-06[1.10.x] Fixed #25461 -- Corrected meta API code examples to account for MTI.Romain Garrigues
In the case of multiple-table inheritance models, get_all_related_objects() and get_all_related_objects_with_model() don't return the auto-created OneToOneField, but the new examples didn't account for this. Backport of 8be84e2ac42b2556fd6fa07794b3708b143ef341 from master
2016-06-28[1.10.x] Refs #23386 -- Documented that F() expressions are applied on each ↵Tsering
model.save() Backport of fc4b4fd5850989458d6e54de12a29b2e40e94ce8 from master
2016-06-21[1.10.x] Fixed #26787 -- Documented deleting and reloading of model instance ↵Tim Graham
fields. Thanks Julien Hartmann for the report. Backport of 20d1cb33c2ec1242e16c49deb88e8c70517b2d1a from master
2016-06-15[1.10.x] Refs #14030 -- Updated docs per "Improved expression support for ↵Sergey Fedoseev
python values." Complements e2d6e14662d780383e18066a3182155fb5b7747b. Backport of db613f4f1250971942f766dcf97c22234a3aa14e from master
2016-06-03[1.10.x] Fixed #26021 -- Applied hanging indentation to docs.Ed Henderson
Backport of 4a4d7f980e2a66756e1e424f7648dcd28ff765b7 from master
2016-06-02[1.10.x] Fixed #26526 -- Documented QuerySet.latest()'s dependency on ↵Chad Shryock
database ordering. Backport of e6c5e68acd4bff90e371fd148ed6976e147692ad from master
2016-05-31[1.10.x] Fixed a typo in the docs.Florian Apolloner
Backport of 62e4f8ec435a4b600c8efb071201070a2443477e from master
2016-05-31[1.10.x] Fixed #26679 -- Documented which methods are disabled on ↵Ketan Bhatt
RelatedManager if there's an intermediate table. Backport of 59523c06fe482232dad9dc63ef0baab63418196d from master
2016-05-27[1.10.x] Fixed typo in docs/ref/models/querysets.txtNick Smith
Backport of 838386815f53fe2cba1b42c498420881660079d4 from master
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