606 Commits

Author SHA1 Message Date
Tim Graham
bdeec1d2ae [1.9.x] Fixed #26925 -- Linked aggregation ordering topic from Meta.ordering docs.
Backport of 3aaf6cf0f3288986c4ce56defea26420f8a48534 from master
2016-07-25 06:25:01 -04:00
petedmarsh
8f7008c487 [1.9.x] Fixed #26899 -- Documented why RawSQL params is a required parameter.
Backport of 7bf3ba0d0c700670d13d7683eec7bd3eb3d4dd1f from master
2016-07-21 10:29:18 -04:00
Romain Garrigues
ca7b926c85 [1.9.x] Fixed #25461 -- Corrected meta API code examples to account for MTI.
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-07-06 09:28:55 -04:00
Tsering
67c60cce70 [1.9.x] Refs #23386 -- Documented that F() expressions are applied on each model.save()
Backport of fc4b4fd5850989458d6e54de12a29b2e40e94ce8 from master
2016-06-28 16:27:44 -04:00
Sergey Fedoseev
99e51bf168 [1.9.x] Refs #14030 -- Updated docs per "Improved expression support for python values."
Complements e2d6e14662d780383e18066a3182155fb5b7747b.

Backport of db613f4f1250971942f766dcf97c22234a3aa14e from master
2016-06-15 10:35:39 -04:00
Ed Henderson
6d0c9f95da [1.9.x] Fixed #26021 -- Applied hanging indentation to docs.
Backport of 4a4d7f980e2a66756e1e424f7648dcd28ff765b7 from master
2016-06-03 11:49:52 -04:00
Chad Shryock
9d52cdfbbc [1.9.x] Fixed #26526 -- Documented QuerySet.latest()'s dependency on database ordering.
Backport of e6c5e68acd4bff90e371fd148ed6976e147692ad from master
2016-06-02 19:43:08 -04:00
Florian Apolloner
1f7ab35c88 [1.9.x] Fixed a typo in the docs.
Backport of 62e4f8ec435a4b600c8efb071201070a2443477e from master.
2016-05-31 16:56:52 +02:00
Ketan Bhatt
d4266dcaf1 [1.9.x] Fixed #26679 -- Documented which methods are disabled on RelatedManager if there's an intermediate table.
Backport of 59523c06fe482232dad9dc63ef0baab63418196d from master
2016-05-31 07:15:19 -04:00
Nick Smith
db056b2a63 [1.9.x] Fixed typo in docs/ref/models/querysets.txt
Backport of 838386815f53fe2cba1b42c498420881660079d4 from master
2016-05-27 09:13:17 -04:00
Tim Graham
dbd72b850b [1.9.x] Refs #26021 -- Used hanging indentation in some doc examples.
Backport of e475e849703d937e158e75e7a6d9cb99090857f6 from master
2016-05-14 19:07:39 -04:00
Tim Graham
145572adb3 [1.9.x] Fixed #26483 -- Updated docs.python.org links to use Intersphinx.
Backport of f5ff5010cd74500785a707ac70b51d292403cddc from master
2016-05-08 18:09:10 -04:00
Tobias McNulty
d2dc188652 [1.9.x] Fixed #26508 -- Clarified docs for various FieldFile methods.
Backport of dbd99de6fa006798ca81ef43cbc83d88e5e6a377 from master
2016-05-07 12:22:21 -04:00
Ville Skyttä
fef3f50e31 [1.9.x] Normalized "an SQL" spelling.
Backport of 575a9a791e62de7550761970dc6797271d956c57 from master
2016-05-03 19:31:07 -04:00
Vasiliy Faronov
cb33e553ee [1.9.x] Fixed #26567 -- Updated references to obsolete RFC2616.
Didn't touch comments where it wasn't obvious that the code adhered to
the newer standard.

Backport of ac77c55bc5fc54cd763a7ae426784650a8cc97c9 from master
2016-05-03 11:16:27 -04:00
Tim Graham
8a135cca4e [1.9.x] Fixed #26554 -- Updated docs URLs to readthedocs.io
Backport of f945fb24a31737c6625205a8cd90eabdf1c33584 from master
2016-04-28 10:15:23 -04:00
Tim Graham
1ef5a328e3 [1.9.x] Refs #22268 -- Fixed typo in docs/ref/models/querysets.txt
Backport of 5ac7c8f7ab2b2e1fec50abb14539a2eb520d1995 from master
2016-04-08 11:43:38 -04:00
Iacopo Spalletti
9956d89fa2 [1.9.x] Fixed #22268 -- Documented values_list() behavior for multivalued relations.a
Thanks Sai Krishna for the initial patch.

Backport of 7d485d5d75bd9faab0b949fd34d4f098f8079452 from master
2016-04-02 07:24:01 -04:00
Duane Hilton
421ad283d3 [1.9.x] Fixed #26239 -- Added a note about how auto_now works with QuerySet.update().
Backport of ca5c05ddbe91f4aae38c4543240dbda5f1fb1db2 from master
2016-03-12 12:42:22 -05:00
Tim Graham
377ca697a1 [1.9.x] Fixed #26321 -- Added missing "for_save" parameter in expressions example.
Thanks tomaszn for the patch.

Backport of de8a11ba18d5902c668d4db47c38c9c6bdf9c1da from master
2016-03-03 19:38:03 -05:00
Taranjeet
46c6ac1ffc [1.9.x] Fixed typos in docs/ref/models/meta.txt.
Backport of 11a8207d4294b46561ce34b37803f191014509af from master
2016-03-01 08:34:16 -05:00
Simon Charette
48cf751640 [1.9.x] Fixed #26186 -- Documented how app relative relationships of abstract models behave.
This partially reverts commit bc7d201bdbaeac14a49f51a9ef292d6312b4c45e.

Thanks Tim for the review.

Refs #25858.

Backport of 0223e213dd690b6b6e0669f836a20efb10998c83 from master
2016-02-29 22:13:54 -05:00
Tim Graham
477b82cf8a [1.9.x] Fixed #25687 -- Documented how to add database function support to third-party backends.
Thanks Kristof Claes for the initial patch.

Backport of 88034c9938d92193d2104ecfe77999c69301dcc1 from master
2016-02-17 13:36:55 -05:00
Tim Graham
a9fbf0735a [1.9.x] Fixed #26124 -- Added missing code formatting to docs headers.
Backport of a6ef025dfb2a1d1bd23893408eef6d066fb506d9 from master
2016-02-01 11:54:26 -05:00
Tim Graham
0495f44b8d [1.9.x] Unified some doc links to OneToOneField and ManyToManyField.
Backport of 8ce8beb3f24042ed0c3da00ef3d23c25036021ed from master
2016-02-01 11:02:53 -05:00
Elif T. Kus
5dceb1f078 [1.9.x] Fixed #26020 -- Normalized header stylings in docs.
Backport of bca9faae95db2a92e540fbd08505c134639916fe from master
2016-01-22 12:18:24 -05:00
Tim Graham
f619b72815 [1.9.x] Fixed #26078 -- Clarified "old vs. new" in model._meta upgrade guide.
Thanks Thomas Güttler for the suggestion.

Backport of 28acc0d6df844ccfc8de6f4e7d5883eb4841e946 from master
2016-01-14 07:30:08 -05:00
pp
1cbc556bce [1.9.x] Added missing period to "etc.".
Backport of b34ff66e5bae3760273255fa5b2525eb21a5eb63 from master
2016-01-11 18:05:56 -05:00
Tim Graham
5855bee1d1 [1.9.x] Removed British/Austrialian word: whilist.
Backport of 98839e906632dfe77c6f6906d61d62868a0541dc from master
2015-12-31 14:31:59 -05:00
Chris Lamb
47f3ee2625 [1.9.x] Discouraged use of /tmp with predictable names.
The use of predictable filenames in /tmp often leads to symlink attacks
so remove the most obvious use of them in the docs.

Backport of 77b8d8cb6d6d6345f479c68c4892291c1492ba7e from master
2015-12-24 09:56:54 -05:00
Qile Wang
dcac100612 [1.9.x] Fixed typo in docs/ref/models/instances.txt
Backport of 83a710b8d3bfb2ac94ba9ae0672bd7b550339629 from master
2015-12-03 12:55:48 -05:00
Jon Dufresne
bf76cf07e0 [1.9.x] Fixed #25778 -- Updated docs links to use https when available.
Backport of 7aabd6238028f4bb78d0687bbccc97bcf634e28b from master
2015-12-01 08:03:16 -05:00
Sergey Fedoseev
9df082bc8c [1.9.x] Removed old versionadded/changed directives.
Backport of da08195b368054d37f85c12ec4ed24656f64245e from master
2015-11-30 18:46:20 -05:00
Bulgantamir Gankhuyag
c7d1a96658 [1.9.x] Clarified default value for DateField to emulate auto_now_add.
Backport of 8bce6fa637952342278c59d06520611e3ba80cbb from master
2015-11-24 08:40:11 -05:00
areski
0adbac4943 [1.9.x] Corrected GenericIPAddressField protocol parameter doc.
Backport of 1e7da99ea6a78c47d3b5d4e9ce82df1ee4024ada from master
2015-11-19 11:19:07 -05:00
Tim Graham
672de44e24 [1.9.x] Replaced "inbuilt" with more common "built-in".
Backport of a8f05f405f8b78e13d7c4c9ffd73d6182b6fc4d5 from master
2015-11-12 17:30:38 -05:00
Alex Morozov
ecb3e314cb [1.9.x] Fixed #25132 -- Documented how to retrieve a single value using values_list() and get().
Backport of 4373eac99828d99718a7b245d160e7e64fce2e95 from master
2015-11-03 12:24:45 +00:00
Tim Graham
31a51a04e8 [1.9.x] Fixed #21422 -- Documented that prefetch_related() results must be homogeneous.
Backport of 69239c0f968ee55cb9ca1e31323fb696db0c2aec from master
2015-10-30 10:28:10 -04:00
Tim Graham
33c6a8b621 [1.9.x] Fixed typo in docs/ref/models/relations.txt.
Backport of f6b9e6bf4fab731a28489ec735cc330255ef03ab from master
2015-10-13 04:30:58 -07:00
Tim Graham
260e9f15fe [1.9.x] Fixed #25462 -- Removed Model.__unicode__() in favor of @python_2_unicode_compatible.
Backport of de99f558d806a2a1b30072ec95bc44d412d80dab from master
2015-09-25 15:36:05 -04:00
Alex Hill
134ca4d438 Fixed #24509 -- Added Expression support to SQLInsertCompiler 2015-09-22 23:35:24 +10:00
Josh Smeaton
534aaf56f4 Fixed #24629 -- Unified Transform and Expression APIs 2015-09-21 19:56:24 +10:00
Mariusz Felisiak
6f1b09bb5c Made assorted improvements to the Oracle documentation. 2015-09-18 09:47:32 -04:00
Renato Oliveira
e3720b990a Fixed #25382 -- Removed obsolete references to DateQuerySet. 2015-09-11 12:16:06 -04:00
Tim Graham
7c0850028f Documented a limitation of Options.required_db_features. 2015-09-03 13:37:39 -04:00
Adam Brenecki
52a190b657 Fixed #24988 -- Documented passing a dictionary of ValidationErrors to ValidationError 2015-08-13 14:17:02 -04:00
Tim Graham
5980b05c1f Fixed #25160 -- Moved unsaved model instance data loss check to Model.save()
This mostly reverts 5643a3b51be338196d0b292d5626ad43648448d3 and
81e1a35c364e5353d2bf99368ad30a4184fbb653.

Thanks Carl Meyer for review.
2015-08-10 08:51:32 -04:00
Caio Ariede
ec9004728e Fixed #25175 -- Renamed the postgresql_psycopg2 database backend to postgresql. 2015-08-07 09:33:17 -04:00
Tim Graham
e8cd65f829 Fixed #25213 -- Discouraged use of QuerySet.extra()
Thanks Anssi Kääriäinen for the draft text and Simon Charette
for review.
2015-08-05 08:01:11 -04:00
Tim Graham
97fa7fe961 Fixed #25212 -- Documented the RawSQL expression. 2015-08-05 07:54:54 -04:00