MariKiev
4f50139692
[1.8.x] Added imports to docs/topics/db/aggregation.txt example.
...
Backport of 30d110ef43
from master
2016-05-25 09:57:55 -04:00
Tim Graham
7934695a0f
[1.8.x] Refs #25136 -- Fixed nonexistent field reference in aggregation topic guide.
...
Thanks Ankush Thakur for the report and Simon for the review.
Backport of fe70f280d7
from master
2016-04-27 15:26:14 -04:00
Simon Charette
5198b0abea
[1.8.x] Fixed #26438 -- Fixed multiple .objects typos in the docs.
...
Thanks Pablo Oubiña for the report.
Backport of 64aba7a8ab
from master
2016-03-31 18:34:03 -04:00
Tim Shaffer
540b487cd6
[1.8.x] Fixed typo in docs/topics/db/aggregation.txt.
...
Backport of 8550566af6
from master
2016-03-25 13:38:38 -04:00
Markus Holtermann
3af5643d82
[1.8.x] Fixed allow_migrate() signature in documentation
...
Backport of 228427ab1a
from master
2016-02-12 14:37:10 +11:00
James Beith
85a021b9cb
[1.8.x] Fixed a typo in the managers docs.
...
Backport of e03798a4ae
from master
2015-11-27 13:54:19 -05:00
Tim Graham
10d18dec10
[1.8.x] Fixed #10045 -- Corrected docs about .annotate()/.filter() ordering.
...
Thanks Josh, Anssi, and Carl for reviews and advice.
Backport of 91a431f48c
from master
2015-11-12 13:22:17 -05:00
Attila Tovt
189ceae19d
[1.8.x] Fixed #25681 -- Added 'default' to DATABASES example.
...
Backport of ac750dbbc0
from master
2015-11-07 11:10:18 +01:00
Tomasz Anielak
7648ceb06b
[1.8.x] Fixed typo in docs/topics/db/models.txt.
...
Backport of b67502fb8d
from master
2015-10-31 08:53:48 -04:00
David Sanders
07e594bba2
[1.8.x] Clarified that Model.delete() isn't called as a result of a cascading delete.
...
Backport of 5c6316dc34
from master
2015-09-30 08:44:40 -04:00
Tim Graham
bb90e8fa2b
[1.8.x] Fixed #25455 -- Optimized dictfetchall() example.
...
Thanks aklim007 for the suggestion.
Backport of 361f60479d
from master
2015-09-24 13:18:45 -04:00
Don Kirkby
1386a823c0
[1.8.x] Fixed typo in docs/topics/db/examples/one_to_one.txt
...
Backport of dcd7358afd
from master
2015-09-23 13:32:01 -04:00
Aymeric Augustin
425c5e40ea
[1.8.x] 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).
Backport of 91e9f1c
from master
2015-09-21 22:31:13 +02:00
Maarten
c06953e8f9
[1.8.x] Fixed #25355 -- Made two tweaks to docs/topics/db/aggregation.txt.
...
Backport of fe58d96e50
from master
2015-09-05 10:20:36 -04:00
Dražen Odobašić
5ed9616a09
[1.8.x] Fixed #25326 -- Added namedtuple example for executing custom SQL.
...
Backport of 5ab65ca5c9
from master
2015-09-03 13:17:34 -04:00
Tim Graham
58335a2c0b
[1.8.x] Fixed #25311 -- Removed vague language about "partial commits" from docs.
...
Backport of ea47a052ba
from master
2015-08-25 20:24:05 -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
Claude Paroz
cda66497aa
[1.8.x] Updated Wikipedia links to use https
...
Backport of 64982cc2fb
from master.
2015-08-08 12:09:53 +02: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
Caio Ariede
9f10c5cdf5
[1.8.x] Fixed #25136 -- Documented Count('X', distinct=True) in aggregate topic guide.
...
Backport of 3862c568ac
from master
2015-08-04 10:50:18 -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
Maximiliano
aefa3a6a03
[1.8.x] Simplified wording in QuerySet.update() docs.
...
Backport of bf07ba523a
from master
2015-06-01 09:42:53 -04:00
Marco Santamaria
1e0bf2cab9
[1.8.x] Fixed #11078 -- Removed inaccurate docs about proxy models Meta.
...
Backport of bae72bdd2a
from master
2015-04-20 09:17:28 -04:00
Tim Graham
62012b071e
[1.8.x] Removed docs for removed transaction APIs.
...
Backport of 6b8c969878
from master
2015-04-14 13:53:18 -04:00
David Seddon
ef61b69447
[1.8.x] Corrected typo in documentation
...
Backport of 0f6f80c2e7
from master
2015-03-25 13:44:13 -04:00
David Seddon
744d9a10ef
[1.8.x] Refs #14645 -- Documented bug with exclude() and multi-value relations
...
Backport of 6770b7ecd2
from master
2015-03-20 17:51:57 -04: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
Adrian Andreias
63b998a653
[1.8.x] Fixed allow_migrate() signature in router examples.
...
Backport of 937643a1f2
from master
2015-03-16 09:39:41 -04:00
Floris den Hengst
bd36f2d432
[1.8.x] Fixed doc typos.
...
Backport of e42a720ba2
from master
2015-03-14 12:29:27 -04:00
Loic Bistuer
3a6c37fce4
[1.8.x] Fixed #24351 , #24346 -- Changed the signature of allow_migrate().
...
The new signature enables better support for routing RunPython and
RunSQL operations, especially w.r.t. reusable and third-party apps.
This commit also takes advantage of the deprecation cycle for the old
signature to remove the backward incompatibility introduced in #22583 ;
RunPython and RunSQL won't call allow_migrate() when when the router
has the old signature.
Thanks Aymeric Augustin and Tim Graham for helping shape up the patch.
Refs 22583.
Conflicts:
django/db/utils.py
Backport of bed504d70b
from master
2015-02-20 21:55:50 +07:00
Loic Bistuer
8f4877c89d
Fixed #22583 -- Allowed RunPython and RunSQL to provide hints to the db router.
...
Thanks Markus Holtermann and Tim Graham for the review.
2015-01-10 00:30:48 +07:00
Helen Sherwood-Taylor
4ccdf6e57f
Fixed #24041 -- Documented effect of changing a model instance's primary key.
2014-12-24 15:06:09 -05:00
David Cramer
27f68f8659
Correct scoping of savepoint example
2014-12-20 12:02:26 -08:00
Claude Paroz
0a4b04fc23
Used https for most *.python.org links
2014-12-19 18:07:52 +01:00
wrwrwr
34a06d99e0
Cleaned up a note in docs/topics/db/sql.txt.
2014-12-06 09:25:48 -05:00
Tim Graham
dc2d75f4d4
Fixed typo in aggregation docs link.
2014-12-03 20:07:40 -05:00
Benjamin Bach
3ab8d0b8c7
Fixed a typo in aggregation docs.
2014-12-03 19:52:54 -05:00
Benjamin Bach
4b23a6c7a9
Documented a current limitation of multiple table annotation; refs #10060 .
2014-12-03 19:18:55 -05:00
Éric Araujo
cbffc900bb
Fix link target markup
...
This markup for a code block is redundant with the code-block directive below,
and blocks the following line from working as link target.
2014-11-17 16:37:18 -07:00
Josh Smeaton
f59fd15c49
Fixed #14030 -- Allowed annotations to accept all expressions
2014-11-15 14:00:43 +00:00
Ismail Badawi
e501d4c505
Fixed #23597 -- Clarified the manager that {Single,Multiple}ObjectMixin.model uses.
2014-10-06 08:23:42 -04:00
Duane Hilton
054bdfeff1
Fixed #17638 -- Added crosslinks between topic and reference guides.
...
Thanks oinopion for the suggestion and jarus for the initial patch.
2014-09-29 18:06:31 -04:00
Greg Brown
9e8658db51
Fixed typo in docs/topics/db/managers.txt
2014-09-29 07:45:28 -04:00
Corey Farwell
4db75925be
Fixed typo in docs/topics/db/transactions.txt.
2014-09-03 11:49:00 -04:00
Tim Graham
5ecead9ab9
Fixed #22620 -- Emphasized role of DATABASE_ROTERS in multi-db docs.
...
Thanks Mike O'Connor for the suggestions.
2014-08-26 15:43:23 -04:00
areski
9d6551204e
Removed unnecessary code-block directives.
2014-08-19 16:44:25 -04:00
Tim Graham
7006187064
Fixed #23282 -- Corrected inheritance and reverse relations example.
...
Thanks knowledgepoint-devs for the report and claudep for review.
2014-08-19 06:28:48 -04:00
Ola Sitarska
6947885926
Fixed #23283 -- Added default=False to BooleanField's in the docs.
...
Thanks Baptiste for the suggestion.
2014-08-13 18:23:52 -04:00
Tim Graham
fb4f3e04b1
Updated MySQL links to version 5.6.
2014-08-02 10:27:01 -04:00
Christoph Heer
d47409831f
Fixed #23067 -- Updated docs to use django-admin
2014-07-30 14:14:03 -04:00