Commit graph

593 commits

Author SHA1 Message Date
Ville Skyttä
fef3f50e31 [1.9.x] Normalized "an SQL" spelling.
Backport of 575a9a791e 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 ac77c55bc5 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 f945fb24a3 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 5ac7c8f7ab 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 7d485d5d75 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 ca5c05ddbe 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 de8a11ba18 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 11a8207d42 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 bc7d201bdb.

Thanks Tim for the review.

Refs #25858.

Backport of 0223e213dd 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 88034c9938 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 a6ef025dfb 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 8ce8beb3f2 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 bca9faae95 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 28acc0d6df from master
2016-01-14 07:30:08 -05:00
pp
1cbc556bce [1.9.x] Added missing period to "etc.".
Backport of b34ff66e5b from master
2016-01-11 18:05:56 -05:00
Tim Graham
5855bee1d1 [1.9.x] Removed British/Austrialian word: whilist.
Backport of 98839e9066 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 77b8d8cb6d 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 83a710b8d3 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 7aabd62380 from master
2015-12-01 08:03:16 -05:00
Sergey Fedoseev
9df082bc8c [1.9.x] Removed old versionadded/changed directives.
Backport of da08195b36 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 8bce6fa637 from master
2015-11-24 08:40:11 -05:00
areski
0adbac4943 [1.9.x] Corrected GenericIPAddressField protocol parameter doc.
Backport of 1e7da99ea6 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 a8f05f405f 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 4373eac998 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 69239c0f96 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 f6b9e6bf4f 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 de99f558d8 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 5643a3b51b and
81e1a35c36.

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
Alasdair Nicol
b792c4804b Removed unnecessary F() from Func expressions docs 2015-07-31 01:40:35 +01:00
Simon Charette
6a46f23957 Refs #18556 -- Fixed a typo in the related manager add() method docs. 2015-07-27 22:50:13 -04:00
Tim Graham
adc0c4fbac Fixed #18556 -- Allowed RelatedManager.add() to execute 1 query where possible.
Thanks Loic Bistuer for review.
2015-07-28 09:28:25 +07: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
Tim Graham
b60375d4bb Fixed #25129 -- Made model instance defaults work with migrations (refs #24919). 2015-07-21 09:19:40 -04:00
Edward Henderson
f8cc464452 Fixed #16501 -- Added an allow_unicode parameter to SlugField.
Thanks Flavio Curella and Berker Peksag for the initial patch.
2015-07-17 13:48:58 -04:00
Luke
fd869cceac Fixed mistake in Model.from_db() example. 2015-07-03 09:08:22 -04:00
William Schwartz
9a5cfa05a0 Fixed #24997 -- Enabled bulk_create() on proxy models 2015-07-02 13:53:51 -04:00
Tim Graham
aaacaeb096 Renamed RemovedInDjangoXYWarnings for new roadmap.
Forwardport of ae1d663b79
from stable/1.8.x plus more.
2015-06-24 16:08:20 -04:00
johannes.linke
27c839e0fc Fixed #24881 -- Clarified Meta.order_with_respect_to documentation 2015-06-19 07:01:54 -04:00
Adam Chainz
d34d39ade7 Fixed #24894 -- Added contrib.postgres.functions.TransactionNow 2015-06-15 14:03:17 -04:00
Matt Deacalion Stevens
77f3d7adb1 Clarified the default form widgets for model number fields in docs 2015-06-09 12:33:01 -04:00