summaryrefslogtreecommitdiff
path: root/docs/topics/db
AgeCommit message (Collapse)Author
2015-09-30[1.8.x] Clarified that Model.delete() isn't called as a result of a ↵David Sanders
cascading delete. Backport of 5c6316dc3467fd7b669bea9157f591ac5fd00ec4 from master
2015-09-24[1.8.x] Fixed #25455 -- Optimized dictfetchall() example.Tim Graham
Thanks aklim007 for the suggestion. Backport of 361f60479d1890e8144fc254d7389a67b35725e9 from master
2015-09-23[1.8.x] Fixed typo in docs/topics/db/examples/one_to_one.txtDon Kirkby
Backport of dcd7358afd7985c3803cd8ef2a189ca39aaa9603 from master
2015-09-21[1.8.x] Fixed #24921 -- set_autocommit(False) + ORM queries.Aymeric Augustin
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-05[1.8.x] Fixed #25355 -- Made two tweaks to docs/topics/db/aggregation.txt.Maarten
Backport of fe58d96e50e33b05f2a45f1493eca39ec9b3d030 from master
2015-09-03[1.8.x] Fixed #25326 -- Added namedtuple example for executing custom SQL.Dražen Odobašić
Backport of 5ab65ca5c900557f508f62a260f9ea53d9d93f37 from master
2015-08-25[1.8.x] Fixed #25311 -- Removed vague language about "partial commits" from ↵Tim Graham
docs. Backport of ea47a052ba7a097a98993c240ecea96a115f6c25 from master
2015-08-10[1.8.x] Fixed #25160 -- Moved unsaved model instance data loss check to ↵Tim Graham
Model.save() This mostly reverts 5643a3b51be338196d0b292d5626ad43648448d3 and 81e1a35c364e5353d2bf99368ad30a4184fbb653. Thanks Carl Meyer for review. Backport of 5980b05c1fad69eef907e0076aa2dc837edab529 from master
2015-08-08[1.8.x] Updated Wikipedia links to use httpsClaude Paroz
Backport of 64982cc2fb from master.
2015-08-05[1.8.x] Fixed #25213 -- Discouraged use of QuerySet.extra()Tim Graham
Thanks Anssi Kääriäinen for the draft text and Simon Charette for review. Backport of e8cd65f8297928d3fa7ad3d338953a4423028713 from master
2015-08-04[1.8.x] Fixed #25136 -- Documented Count('X', distinct=True) in aggregate ↵Caio Ariede
topic guide. Backport of 3862c568ac1b920188ecfbe5cd8073160206d6b9 from master
2015-06-05[1.8.x] Capitalized "Python" in docs.Tim Graham
Backport of 2fbea621e68d3365679e45fa17b61d06aa8cdf76 from master
2015-06-01[1.8.x] Simplified wording in QuerySet.update() docs.Maximiliano
Backport of bf07ba523a9846fa9820b87321ef4222fed98e8c from master
2015-04-20[1.8.x] Fixed #11078 -- Removed inaccurate docs about proxy models Meta.Marco Santamaria
Backport of bae72bdd2aa93472617ed28fc3d5a01f0920ea6e from master
2015-04-14[1.8.x] Removed docs for removed transaction APIs.Tim Graham
Backport of 6b8c969878fb937c94eaf2cdc3de94554f171bdd from master
2015-03-25[1.8.x] Corrected typo in documentationDavid Seddon
Backport of 0f6f80c2e7736ec4e2aa40287fe8c37ffff0a783 from master
2015-03-20[1.8.x] Refs #14645 -- Documented bug with exclude() and multi-value relationsDavid Seddon
Backport of 6770b7ecd208a0746f181e54202fb829460c6490 from master
2015-03-18[1.8.x] Fixed #24495 -- Allowed unsaved model instance assignment check to ↵Karl Hobley
be bypassed. Backport of 81e1a35c364e5353d2bf99368ad30a4184fbb653 from master
2015-03-16[1.8.x] Fixed allow_migrate() signature in router examples.Adrian Andreias
Backport of 937643a1f215d7d2063b256269d757a2ee316f07 from master
2015-03-14[1.8.x] Fixed doc typos.Floris den Hengst
Backport of e42a720ba22a51c68d2316d425234a197eaff467 from master
2015-02-20[1.8.x] Fixed #24351, #24346 -- Changed the signature of allow_migrate().Loic Bistuer
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 bed504d70bede3431a213203c13a33905d6dbf77 from master
2015-01-10Fixed #22583 -- Allowed RunPython and RunSQL to provide hints to the db router.Loic Bistuer
Thanks Markus Holtermann and Tim Graham for the review.
2014-12-24Fixed #24041 -- Documented effect of changing a model instance's primary key.Helen Sherwood-Taylor
2014-12-20Correct scoping of savepoint exampleDavid Cramer
2014-12-19Used https for most *.python.org linksClaude Paroz
2014-12-06Cleaned up a note in docs/topics/db/sql.txt.wrwrwr
2014-12-03Fixed typo in aggregation docs link.Tim Graham
2014-12-03Fixed a typo in aggregation docs.Benjamin Bach
2014-12-03Documented a current limitation of multiple table annotation; refs #10060.Benjamin Bach
2014-11-17Fix link target markupÉric Araujo
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-15Fixed #14030 -- Allowed annotations to accept all expressionsJosh Smeaton
2014-10-06Fixed #23597 -- Clarified the manager that ↵Ismail Badawi
{Single,Multiple}ObjectMixin.model uses.
2014-09-29Fixed #17638 -- Added crosslinks between topic and reference guides.Duane Hilton
Thanks oinopion for the suggestion and jarus for the initial patch.
2014-09-29Fixed typo in docs/topics/db/managers.txtGreg Brown
2014-09-03Fixed typo in docs/topics/db/transactions.txt.Corey Farwell
2014-08-26Fixed #22620 -- Emphasized role of DATABASE_ROTERS in multi-db docs.Tim Graham
Thanks Mike O'Connor for the suggestions.
2014-08-19Removed unnecessary code-block directives.areski
2014-08-19Fixed #23282 -- Corrected inheritance and reverse relations example.Tim Graham
Thanks knowledgepoint-devs for the report and claudep for review.
2014-08-13Fixed #23283 -- Added default=False to BooleanField's in the docs.Ola Sitarska
Thanks Baptiste for the suggestion.
2014-08-02Updated MySQL links to version 5.6.Tim Graham
2014-07-30Fixed #23067 -- Updated docs to use django-adminChristoph Heer
2014-07-08Fixed #22978 -- Removed a USA-centric example that didn't add much.Tim Graham
2014-07-02Removed non-existent reference to args/kwargs in manager docs.Éric Araujo
2014-06-12Fixed #22349 -- Added a note clarifying `RawQuerySet` has no `__len__`.Moayad Mardini
Thanks cdestigter for the report.
2014-06-05Fix missing highlighting in some code examplesÉric Araujo
2014-06-05Fixed #10811 -- Made assigning unsaved objects to FK, O2O, and GFK raise ↵Anubhav Joshi
ValueError. This prevents silent data loss. Thanks Aymeric Augustin for the initial patch and Loic Bistuer for the review.
2014-05-27Fixed #22601 -- Added a note about model inheritance.Moayad Mardini
Thanks semenov for the report.
2014-05-22Fixed #22667 -- Replaced leader/follower terminology with primary/replicaFlavio Curella
2014-05-20Merge pull request #2692 from fcurella/patch-5Alex Gaynor
#22667 replaced occurrences of master/slave terminology with leader/follower
2014-05-20replaced occurrences of master/slave terminology with leader/followerFlavio Curella