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
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
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
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
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
pp
1cbc556bce
[1.9.x] Added missing period to "etc.".
...
Backport of b34ff66e5bae3760273255fa5b2525eb21a5eb63 from master
2016-01-11 18:05:56 -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
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
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
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
Flavio Curella
c2e70f0265
Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField
2015-07-27 18:28:13 -04:00
Tim Graham
87d55081ea
Fixed #25159 -- Removed brackets from class/function/method signatures in docs.
...
Thanks hellbeast for the initial patch.
2015-07-27 10:32:47 -04:00
William Schwartz
9a5cfa05a0
Fixed #24997 -- Enabled bulk_create() on proxy models
2015-07-02 13:53:51 -04:00
Matthew Somerville
2dc93bb10a
Fixed #22316 -- Added time filters to TimeField on SQLite.
...
This was implemented for non-SQLite backends in 1.7 (as a
side effect of #16187 ).
2015-06-04 22:27:13 -04:00
Jon Dufresne
44f3ee7716
Fixed #9596 -- Added date transform for DateTimeField.
2015-06-02 08:49:10 -04:00
Przemysław Suliga
d29ed3f355
Fixed #24880 -- Added more explicit docs on select_for_update() on SQLite.
2015-06-01 08:53:12 -04:00
Alexander Sosnovskiy
04e8d890ae
Fixed #16891 -- Made Model/QuerySet.delete() return the number of deleted objects.
2015-05-22 13:27:16 -04:00
David Krisch
1a62f19707
Fixed #24763 -- Moved DoesNotExist exception to model docs.
2015-05-08 13:05:50 -04:00
Tim Graham
2d76b61dc2
Fixed #24649 -- Allowed using Avg aggregate on non-numeric field types.
2015-04-25 13:06:14 -04:00
Richard Eames
dd99f57710
Fixed #24613 -- Added example to QuerySet.defer() documentation
2015-04-22 19:18:57 -04:00
Jon Dufresne
b5e0eede40
Fixed #22394 -- Refactored built-in datetime lookups to transforms.
2015-04-20 15:11:11 -04:00
Tim Graham
e9fdecf984
Removed DateTimeQuerySet from docs.
...
Obsolete since refs #23867 .
2015-04-18 10:14:22 -04:00
Tim Graham
b9d9ab23bd
Refs #24462 -- Emphasized that order_by() clears previous ordering.
2015-03-13 15:40:25 -04:00
Sean Wang
a3e89f13df
Fixed #24414 -- Added examples of Prefetch object usage to the docs.
2015-03-11 12:38:25 -04:00
Josh Schneier
7d363ed432
Fixed typos of "select_related" in docs and tests.
2015-02-04 07:31:43 -05:00
Tim Graham
c79faae761
Removed versionadded/changed notes for 1.7.
2015-02-01 21:02:40 -05:00
Loic Bistuer
4c3bfe9053
Fixed #24211 -- Removed ValuesQuerySet() and ValuesListQuerySet().
...
Thanks Anssi Kääriäinen, Marc Tamlyn, and Tim Graham for the reviews.
2015-01-30 22:02:58 +07:00
Collin Anderson
ee23e03637
Fixed #24190 -- Clarified len(queryset)
2015-01-24 10:14:18 -05:00
Josh Smeaton
21b858cb67
Fixed #24060 -- Added OrderBy Expressions
2015-01-13 09:39:55 +11:00
Ng Zhi An
8f5d6c77b6
Fixed #23878 -- Moved Query and Prefetch documentation
2015-01-12 11:35:20 -05:00
Jon Dufresne
4468c08d70
Fixed #23968 -- Replaced list comprehension with generators and dict comprehension
2014-12-08 07:58:23 -05:00
Michal Petrucha
327df551e8
Fixed #23817 -- Updated docs on QuerySet evaluation
...
Removed inaccurate info about partial evaluation after refs #18702 .
Added information on modifying sliced QuerySets; refs #22503 .
2014-11-20 09:33:32 -05:00
Josh Smeaton
f59fd15c49
Fixed #14030 -- Allowed annotations to accept all expressions
2014-11-15 14:00:43 +00:00
Tim Graham
11b7680d0e
Fixed #23774 -- Clarified QuerySet.order_by() and related models.
2014-11-12 22:00:48 +01:00
Berker Peksag
5c517ec218
Fixed versionchanged indentation in docs/.
2014-11-03 21:40:26 -05:00
Tim Graham
e958c760f9
Fixed #23732 -- Corrected and enhanced select_related() docs.
...
Thanks Daniele Procida for the report and review.
2014-10-31 15:40:07 -04:00
Oliver Meinusch
6b39401baf
Fixed QuerySet datetimes argument name in docs.
2014-10-27 19:48:29 -04:00
jnothman
20f868bc5a
Added flat=False to signature of QuerySet.values_list()
2014-10-01 13:06:30 -04:00
Matt Robenolt
ef5f9b6ae8
Fixed #23460 -- Added literal %s
support to extra() QuerySets.
2014-09-26 13:01:27 -04:00
Tim Graham
fb4f3e04b1
Updated MySQL links to version 5.6.
2014-08-02 10:27:01 -04:00
Tim Graham
66630f589c
Fixed #23134 -- Fixed typos in docs/ref/models/querysets.txt.
...
Thanks Josh Kupershmidt.
2014-07-30 13:03:54 -04:00
Moayad Mardini
668d432d0a
Fixed #22491 -- documented how select_for_update() should be tested.
...
Thanks Andreas Pelme for the report.
2014-07-28 10:57:12 -04:00
David Hoffman
6d5daa30cf
Fixed #22553 -- Added refreshing queryset info to docs.
2014-07-26 10:27:02 -04:00