summaryrefslogtreecommitdiff
path: root/docs/ref/models
AgeCommit message (Collapse)Author
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
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