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
Evan Palmer
aa1bdc07a9
[1.9.x] Fixed #25127 -- Documented how to organize models in a package.
...
Backport of 84d8d1d7151a4ee70ae35037d37f76a40d18da64 from master
2016-06-04 11:48:24 -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
MariKiev
8f96859e1e
[1.9.x] Added imports to docs/topics/db/aggregation.txt example.
...
Backport of 30d110ef43d8a3c50ea8ec4e4fe49bd2bb859530 from master
2016-05-25 09:57:48 -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
04002bfc2f
[1.9.x] Fixed typo in docs/topics/db/models.txt
...
Backport of af69c9113ccf8e6185abdef0d5d0cd46c1daf78c from master
2016-05-13 15:18:58 -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
shiblystory
219fc1f726
[1.9.x] Fixed #26595 -- Removed unnecessary save() in one_to_one.txt example.
...
Backport of 6ae617dc57149216d264d3596cdb10a72dad1bca from master
2016-05-07 06:53:29 -04:00
Tim Graham
cc5c4ae35d
[1.9.x] Refs #25136 -- Fixed nonexistent field reference in aggregation topic guide.
...
Thanks Ankush Thakur for the report and Simon for the review.
Backport of fe70f280d7ea4402f676696c4013c4a23d4e4990 from master
2016-04-27 15:26:10 -04:00
Simon Charette
a304e7ddff
[1.9.x] Fixed #26438 -- Fixed multiple .objects typos in the docs.
...
Thanks Pablo Oubiña for the report.
Backport of 64aba7a8aba06b8be52a1a099b44e1d3be4bdd26 from master
2016-03-31 18:30:58 -04:00
Tim Shaffer
9d0c8d3dd9
[1.9.x] Fixed typo in docs/topics/db/aggregation.txt.
...
Backport of 8550566af6321fe111ac1fe6497720e6ac291824 from master
2016-03-25 13:38:35 -04:00
Tim Graham
a23b387e5a
[1.9.x] Corrected a run on sentence in doc/topics/db/models.txt.
...
Backport of 22d2a5b00ac99e638d95cbfe1cc41ef217fa50d4 from master
2016-02-25 14:24:18 -05:00
Markus Holtermann
765f6d8041
[1.9.x] Fixed allow_migrate() signature in documentation
...
Backport of 228427ab1ab6aaafed4eacfb532f7ddb6cc1ed6c from master
2016-02-12 14:35:38 +11:00
Becka R
ec16503f2b
[1.9.x] Clarified "database column type" explanation.
...
Backport of cf48962b361b573e580b79839c19b640b7f304a2 from master
2016-02-11 18:27:14 -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
d7a6086825
[1.9.x] Fixed #23868 -- Added support for non-unique django-admin-options in docs.
...
Also documented missing short command line options to fix #24134 . This bumps
the minimum sphinx version required to build the docs to 1.3.4.
Thanks Simon Charette for review.
Backport of e519aab43a419589e92fe284e4ce2f2e034aec6a from master
2016-02-01 11:25:42 -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
5855bee1d1
[1.9.x] Removed British/Austrialian word: whilist.
...
Backport of 98839e906632dfe77c6f6906d61d62868a0541dc from master
2015-12-31 14:31:59 -05:00
Tim Graham
ea63cf8d42
[1.9.x] Refs #10060 -- Corrected description of multiple annotations bug.
...
Backport of 3d2236773ba88e330841b8c72183b0e978e10909 from master
2015-12-15 08:04:43 -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
James Beith
75ec064808
[1.9.x] Fixed a typo in the managers docs.
...
Backport of e03798a4ae6e0eca43c1b238dd96b3798aaeca81 from master
2015-11-27 13:53:49 -05:00
Tim Graham
16865782d7
[1.9.x] Fixed #10045 -- Corrected docs about .annotate()/.filter() ordering.
...
Thanks Josh, Anssi, and Carl for reviews and advice.
Backport of 91a431f48c1fc5ecc9a837e8071a0062d31b490f from master
2015-11-12 13:22:13 -05:00
Attila Tovt
a98d08f9f8
[1.9.x] Fixed #25681 -- Added 'default' to DATABASES example.
...
Backport of ac750dbbc0533dcf9c2f6c0f09957adf6f976d3e from master
2015-11-07 11:10:00 +01:00
Tomasz Anielak
f1859d9100
[1.9.x] Fixed typo in docs/topics/db/models.txt.
...
Backport of b67502fb8dccefa0c0a3b4a63f9053c4238a8a0c from master
2015-10-31 08:53:45 -04:00
David Sanders
d6632f2111
[1.9.x] Clarified that Model.delete() isn't called as a result of a cascading delete.
...
Backport of 5c6316dc3467fd7b669bea9157f591ac5fd00ec4 from master
2015-09-30 08:44:37 -04: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
Tim Graham
ca2c5508be
[1.9.x] Fixed #25455 -- Optimized dictfetchall() example.
...
Thanks aklim007 for the suggestion.
Backport of 361f60479d1890e8144fc254d7389a67b35725e9 from master
2015-09-24 13:19:17 -04:00
Don Kirkby
dcd7358afd
Fixed typo in docs/topics/db/examples/one_to_one.txt
2015-09-23 13:31:14 -04:00
Aymeric Augustin
91e9f1c972
Fixed #24921 -- set_autocommit(False) + ORM queries.
...
This commits lifts the restriction that the outermost atomic block must
be declared with savepoint=False. This restriction was overly cautious.
The logic that makes it safe not to create savepoints for inner blocks
also applies to the outermost block when autocommit is disabled and a
transaction is already active.
This makes it possible to use the ORM after set_autocommit(False).
Previously it didn't work because ORM write operations are protected
with atomic(savepoint=False).
2015-09-21 22:21:53 +02:00
Maarten
fe58d96e50
Fixed #25355 -- Made two tweaks to docs/topics/db/aggregation.txt.
2015-09-05 10:19:38 -04:00
Dražen Odobašić
5ab65ca5c9
Fixed #25326 -- Added namedtuple example for executing custom SQL.
2015-09-03 13:11:46 -04:00
Tim Graham
ea47a052ba
Fixed #25311 -- Removed vague language about "partial commits" from docs.
2015-08-25 20:23:43 -04:00
Aymeric Augustin
491d01b7e9
Tweak some examples.
...
"Area man/woman" is confusing to people not familiar with the
conventions of American journalism (like me).
2015-08-22 20:25:42 +02:00
Brendan Hayward
c9fb4f3c45
Fixed #25205 -- Removed doc references to deprecated GeoManager class.
2015-08-11 10:14:44 -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
Claude Paroz
64982cc2fb
Updated Wikipedia links to use https
2015-08-08 12:02:32 +02: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
Caio Ariede
3862c568ac
Fixed #25136 -- Documented Count('X', distinct=True) in aggregate topic guide.
2015-08-04 10:46:04 -04:00
Flavio Curella
c2e70f0265
Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField
2015-07-27 18:28:13 -04:00
Andreas Pelme
00a1d4d042
Fixed #21803 -- Added support for post-commit callbacks
...
Made it possible to register and run callbacks after a database
transaction is committed with the `transaction.on_commit()` function.
This patch is heavily based on Carl Meyers django-transaction-hooks
<https://django-transaction-hooks.readthedocs.org/ >. Thanks to
Aymeric Augustin, Carl Meyer, and Tim Graham for review and feedback.
2015-06-30 14:51:00 -04:00
Tim Graham
2fbea621e6
Capitalized "Python" in docs.
2015-06-05 08:24:53 -04:00
Maximiliano
bf07ba523a
Simplified wording in QuerySet.update() docs.
2015-06-01 09:42:23 -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
Marco Santamaria
bae72bdd2a
Fixed #11078 -- documentation update.
2015-04-19 16:24:14 +02:00
Tim Graham
6b8c969878
Removed docs for removed transaction APIs.
2015-04-14 13:52:45 -04:00
David Seddon
0f6f80c2e7
Corrected typo in documentation
2015-03-25 17:38:56 +00:00
David Seddon
6770b7ecd2
Refs #14645 -- Documented bug with exclude() and multi-value relations
2015-03-20 17:49:07 -04:00
Karl Hobley
81e1a35c36
Fixed #24495 -- Allowed unsaved model instance assignment check to be bypassed.
2015-03-18 19:00:09 -04:00