Tim Graham
dfd4bd5fc5
[1.8.x] Fixed typo docs/ref/models/relations.txt
2015-11-30 18:48:56 -05:00
Bulgantamir Gankhuyag
92d0d2cb1b
[1.8.x] Clarified default value for DateField to emulate auto_now_add.
...
Backport of 8bce6fa637
from master
2015-11-24 08:40:14 -05:00
areski
bc8bae0ba9
[1.8.x] Corrected GenericIPAddressField protocol parameter doc.
...
Backport of 1e7da99ea6
from master
2015-11-19 11:19:20 -05:00
Tim Graham
967335977b
[1.8.x] Replaced "inbuilt" with more common "built-in".
...
Backport of a8f05f405f
from master
2015-11-12 17:30:47 -05:00
Alex Morozov
676636ac8f
[1.8.x] Fixed #25132 -- Documented how to retrieve a single value using values_list() and get().
...
Backport of 4373eac998
from master
2015-11-03 12:25:51 +00:00
Tim Graham
683b3dff7b
[1.8.x] Fixed #21422 -- Documented that prefetch_related() results must be homogeneous.
...
Backport of 69239c0f96
from master
2015-10-30 10:28:20 -04:00
Mariusz Felisiak
a0ce708c1c
[1.8.x] Made assorted improvements to the Oracle documentation.
...
Backport of 6f1b09bb5c
from master
2015-09-18 09:50:35 -04:00
Renato Oliveira
f328ebdede
[1.8.x] Fixed #25382 -- Removed obsolete references to DateQuerySet.
...
Backport of e3720b990a
from master
2015-09-11 12:21:11 -04:00
Adam Brenecki
99b5649a07
[1.8.x] Fixed #24988 -- Documented passing a dictionary of ValidationErrors to ValidationError
...
Backport of 52a190b657
from master
2015-08-13 17:43:06 -04:00
Tim Graham
e4b813c0e7
[1.8.x] Fixed #25160 -- Moved unsaved model instance data loss check to Model.save()
...
This mostly reverts 5643a3b51b
and
81e1a35c36
.
Thanks Carl Meyer for review.
Backport of 5980b05c1f
from master
2015-08-10 11:31:22 -04:00
Tim Graham
ce0f2a4a4f
[1.8.x] Fixed #25213 -- Discouraged use of QuerySet.extra()
...
Thanks Anssi Kääriäinen for the draft text and Simon Charette
for review.
Backport of e8cd65f829
from master
2015-08-05 08:15:44 -04:00
Tim Graham
6f6043fd26
[1.8.x] Fixed #25212 -- Documented the RawSQL expression.
...
Backport of 97fa7fe961
from master
2015-08-05 08:15:30 -04:00
Alasdair Nicol
57615516bc
[1.8.x] Removed unnecessary F() from Func expressions docs
...
Backport of b792c4804b
from master
2015-07-30 21:15:30 -04:00
Tim Graham
a66d843eec
[1.8.x] Fixed #25159 -- Removed brackets from class/function/method signatures in docs.
...
Thanks hellbeast for the initial patch.
Backport of 87d55081ea
from master
2015-07-27 10:43:09 -04:00
Luke
e2acbfb69b
[1.8.x] Fixed mistake in Model.from_db() example.
...
Backport of fd869cceac
from master
2015-07-03 09:09:38 -04:00
Tim Graham
ae1d663b79
[1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning.
2015-06-23 07:22:16 -04:00
johannes.linke
aa00f48280
[1.8.x] Fixed #24881 -- Clarified Meta.order_with_respect_to documentation
...
Backport of 27c839e0fc
from master
2015-06-19 07:03:16 -04:00
Matt Deacalion Stevens
7ae470cfe2
[1.8.x] Clarified the default form widgets for model number fields in docs
...
Backport of 77f3d7adb1
from master
2015-06-09 12:33:37 -04:00
Alasdair Nicol
a22a1b3e23
[1.8.x] Fixed #24952 -- Fixed example SQL in Func() expressions docs
...
Backport of 1f5b067710
from master
2015-06-08 10:56:46 -04:00
Yamila Moreno
7dcfbb2ef3
[1.8.x] Fixed #22571 -- Added clarification about auto_now_add=True
...
Backport of cbe4efcbc1
from master
2015-06-05 10:04:24 -04:00
Tim Graham
a1d8a205bc
[1.8.x] Capitalized "Python" in docs.
...
Backport of 2fbea621e6
from master
2015-06-05 08:38:43 -04:00
Ian Foote
8d33889422
[1.8.x] Fixed #24925 -- Document using Coalesce on MySQL
...
Add warning for using Coalesce with python values on MySQL and document
workaround.
Backport of 14dead04ac
from master
2015-06-05 08:25:37 -04:00
Przemysław Suliga
52b5890f52
[1.8.x] Fixed #24880 -- Added more explicit docs on select_for_update() on SQLite.
...
Backport of d29ed3f355
from master
2015-06-01 08:53:59 -04:00
David Krisch
51ebc8805e
[1.8.x] Fixed #24763 -- Moved DoesNotExist exception to model docs.
...
Backport of 1a62f19707
from master
2015-05-08 13:13:45 -04:00
Ian Foote
eb534f6412
[1.8.x] Fixed typo in docs/ref/models/expressions.txt
...
Backport of 756a727252
from master
2015-05-07 20:15:47 -04:00
Tim Graham
afae8ff916
[1.8.x] Fixed #24665 -- Clarified model field flag defaults.
...
Backport of 2b086229a2
from master
2015-04-29 20:41:07 -04:00
Nicolas Noé
61e902c4c4
[1.8.x] Fixed #24656 -- Added missing imports to query expressions doc.
...
Backport of 37682368a6
from master
2015-04-24 10:55:35 -04:00
Richard Eames
fe533fc537
[1.8.x] Fixed #24613 -- Added example to QuerySet.defer() documentation
...
Backport of dd99f57710
from master
2015-04-22 19:19:17 -04:00
Neal Todd
b39c970cfe
[1.8.x] Amended get_all_related_objects() backwards compatible replacement.
...
Backport of d84f01ff08
from master
2015-04-20 09:50:31 -04:00
Tim Graham
ae47854a25
[1.8.x] Removed DateTimeQuerySet from docs.
...
Obsolete since refs #23867 .
Backport of e9fdecf984
from master
2015-04-18 10:14:38 -04:00
lampslave
e2294b453c
[1.8.x] Fixed typo in docs/ref/models/expressions.txt
...
Backport of 800240cb1d
from master
2015-04-07 13:59:20 -04:00
Christopher Luc
c4e8f21a9c
[1.8.x] Fixed #24281 -- Improved docs for timezone handling for auto_now and auto_now_add
...
Thanks djbug for the report and Aymeric Augustin and Carl Meyer for the
review.
Backport of 8119876d4a
from master
2015-03-29 23:38:51 +02:00
Iacopo Spalletti
6da4ce5365
[1.8.x] Fixed #23814 -- Pointed localflavor documentation to external package
...
Edited localflavor doc to point to the external package documentation,
leaving just the 'How to migrate' section in Django.
Backport of 87fed94440
from master.
2015-03-22 15:36:44 +01:00
Josh Smeaton
e654123f7f
Fixed #24485 -- Allowed combined expressions to set output_field
2015-03-22 17:41:12 +11:00
Karl Hobley
a8c53041f9
[1.8.x] Fixed #24495 -- Allowed unsaved model instance assignment check to be bypassed.
...
Backport of 81e1a35c36
from master
2015-03-18 19:12:46 -04:00
Josh Smeaton
a0cebe82b5
[1.8.x] Refs #24485 -- Renamed some expression types
...
Backport of 88d798d71a
from master
2015-03-17 08:40:45 -04:00
Josh Smeaton
09062e9509
[1.8.x] Fixed #24486 -- Documented method to provide output_field to mixed F expressions
...
Backport of 820381d38b
from master
2015-03-16 11:56:09 -04:00
Tim Graham
5b91802718
[1.8.x] Refs #24462 -- Emphasized that order_by() clears previous ordering.
...
Backport of b9d9ab23bd
from master
2015-03-13 15:42:03 -04:00
Steven Das
e1657cc37f
[1.8.x] Fixed typo in docs/ref/models/fields.txt
...
Backport of 53bc6e2e98
from master
2015-03-12 19:16:22 -04:00
Sean Wang
e0e2df412f
[1.8.x] Fixed #24414 -- Added examples of Prefetch object usage to the docs.
...
Backport of a3e89f13df
from master
2015-03-11 12:39:50 -04:00
Floris den Hengst
9853844ed3
[1.8.x] Fixed #24432 -- Added docs for ManyToManyFields that reside in and refer to the same model.
...
Backport of b9b8411129
from master
2015-03-09 20:46:26 -04:00
Marc Tamlyn
3886338c1d
[1.8.x] Update converters to take a consistent set of parameters.
...
As suggested by Anssi. This has the slightly strange side effect of
passing the expression to Expression.convert_value has the expression
passed back to it, but it allows more complex patterns of expressions.
Backport of 32d4db66b9
from master
2015-02-20 11:47:48 +00:00
Loic Bistuer
20b621eb3c
[1.8.x] Fixed #24289 -- Reversed usage of Field.many_to_one and one_to_many.
...
Thanks Carl Meyer and Tim Graham for the reviews and to all involved
in the discussion.
Backport of 18c0aaa912
from master
2015-02-14 02:42:06 +07:00
Josh Smeaton
a6ea62aeaf
[1.8.x] Refs #14030 -- Improved expression support for python values
...
Backport of e2d6e14662
from master
2015-02-12 08:53:03 +11:00
Josh Schneier
16e3910e9c
[1.8.x] Fixed typos of "select_related" in docs and tests.
...
Backport of 7d363ed432
from master
2015-02-04 07:32:34 -05:00
Anssi Kääriäinen
43b0131fb5
[1.8.x] Fixed #23617 -- Added get_pk_value_on_save()
...
The method is mainly intended for use with UUIDField. For UUIDField we
want to call the field's default even when primary key value is
explicitly set to None to match the behavior of AutoField.
Thanks to Marc Tamlyn and Tim Graham for review.
Backport of 8adc59038c
from master
2015-02-03 09:25:55 -05:00
Collin Anderson
09e8985f25
[1.8.x] Fixed #24190 -- Clarified len(queryset)
...
Backport of ee23e03637
from master
2015-01-24 10:18:14 -05:00
Michał Modzelewski
65246de7b1
Fixed #24031 -- Added CASE expressions to the ORM.
2015-01-12 18:15:34 -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