summaryrefslogtreecommitdiff
path: root/docs/ref/models
AgeCommit message (Collapse)Author
2016-07-15Fixed inconsistent indentation in docs/ref/models/options.txtTim Graham
2016-07-08Fixed #26348 -- Added TruncTime and exposed it through the __time lookup.Simon Charette
Thanks Tim for the review.
2016-07-08Refs #25774, #26348 -- Allowed Trunc functions to operate with time fields.Simon Charette
Thanks Josh for the amazing testing setup and Tim for the review.
2016-07-08Refs #25774 -- Adjusted datetime database function docs field names.Simon Charette
2016-07-06Fixed #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.
2016-06-28Refs #23386 -- Documented that F() expressions are applied on each model.save()Tsering
2016-06-27Fixed #26709 -- Added class-based indexes.Akshesh
Added the AddIndex and RemoveIndex operations to use them in migrations. Thanks markush, mjtamlyn, timgraham, and charettes for review and advice.
2016-06-21Fixed #26787 -- Documented deleting and reloading of model instance fields.Tim Graham
Thanks Julien Hartmann for the report.
2016-06-15Refs #14030 -- Updated docs per "Improved expression support for python values."Sergey Fedoseev
Complements e2d6e14662d780383e18066a3182155fb5b7747b.
2016-06-13Fixed #4136 -- Made ModelForm save empty values for nullable CharFields as NULL.Jon Dufresne
Previously, empty values were saved as strings.
2016-06-04Fixed a typo in docs/ref/models/querysets.txtVytis Banaitis
2016-06-03Fixed #26021 -- Applied hanging indentation to docs.Ed Henderson
2016-06-03Fixed #26638 -- Allowed callable arguments for ↵Will Koster
QuerySet.get_or_create()/update_or_create() defaults.
2016-06-02Fixed #26526 -- Documented QuerySet.latest()'s dependency on database ordering.Chad Shryock
2016-05-31Fixed a typo in the docs.Florian Apolloner
2016-05-31Fixed #26679 -- Documented which methods are disabled on RelatedManager if ↵Ketan Bhatt
there's an intermediate table.
2016-05-27Fixed typo in docs/ref/models/querysets.txtNick Smith
2016-05-20Removed versionadded/changed annotations for 1.9.Tim Graham
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