summaryrefslogtreecommitdiff
path: root/docs/topics/db
AgeCommit message (Collapse)Author
2015-12-01[1.9.x] Fixed #25778 -- Updated docs links to use https when available.Jon Dufresne
Backport of 7aabd6238028f4bb78d0687bbccc97bcf634e28b from master
2015-11-27[1.9.x] Fixed a typo in the managers docs.James Beith
Backport of e03798a4ae6e0eca43c1b238dd96b3798aaeca81 from master
2015-11-12[1.9.x] Fixed #10045 -- Corrected docs about .annotate()/.filter() ordering.Tim Graham
Thanks Josh, Anssi, and Carl for reviews and advice. Backport of 91a431f48c1fc5ecc9a837e8071a0062d31b490f from master
2015-11-07[1.9.x] Fixed #25681 -- Added 'default' to DATABASES example.Attila Tovt
Backport of ac750dbbc0533dcf9c2f6c0f09957adf6f976d3e from master
2015-10-31[1.9.x] Fixed typo in docs/topics/db/models.txt.Tomasz Anielak
Backport of b67502fb8dccefa0c0a3b4a63f9053c4238a8a0c from master
2015-09-30[1.9.x] Clarified that Model.delete() isn't called as a result of a ↵David Sanders
cascading delete. Backport of 5c6316dc3467fd7b669bea9157f591ac5fd00ec4 from master
2015-09-25[1.9.x] Fixed #25462 -- Removed Model.__unicode__() in favor of ↵Tim Graham
@python_2_unicode_compatible. Backport of de99f558d806a2a1b30072ec95bc44d412d80dab from master
2015-09-24[1.9.x] Fixed #25455 -- Optimized dictfetchall() example.Tim Graham
Thanks aklim007 for the suggestion. Backport of 361f60479d1890e8144fc254d7389a67b35725e9 from master
2015-09-23Fixed typo in docs/topics/db/examples/one_to_one.txtDon Kirkby
2015-09-21Fixed #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).
2015-09-05Fixed #25355 -- Made two tweaks to docs/topics/db/aggregation.txt.Maarten
2015-09-03Fixed #25326 -- Added namedtuple example for executing custom SQL.Dražen Odobašić
2015-08-25Fixed #25311 -- Removed vague language about "partial commits" from docs.Tim Graham
2015-08-22Tweak some examples.Aymeric Augustin
"Area man/woman" is confusing to people not familiar with the conventions of American journalism (like me).
2015-08-11Fixed #25205 -- Removed doc references to deprecated GeoManager class.Brendan Hayward
2015-08-10Fixed #25160 -- Moved unsaved model instance data loss check to Model.save()Tim Graham
This mostly reverts 5643a3b51be338196d0b292d5626ad43648448d3 and 81e1a35c364e5353d2bf99368ad30a4184fbb653. Thanks Carl Meyer for review.
2015-08-08Updated Wikipedia links to use httpsClaude Paroz
2015-08-07Fixed #25175 -- Renamed the postgresql_psycopg2 database backend to postgresql.Caio Ariede
2015-08-05Fixed #25213 -- Discouraged use of QuerySet.extra()Tim Graham
Thanks Anssi Kääriäinen for the draft text and Simon Charette for review.
2015-08-04Fixed #25136 -- Documented Count('X', distinct=True) in aggregate topic guide.Caio Ariede
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella
ForeignKey/OneToOneField
2015-06-30Fixed #21803 -- Added support for post-commit callbacksAndreas Pelme
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-05Capitalized "Python" in docs.Tim Graham
2015-06-01Simplified wording in QuerySet.update() docs.Maximiliano
2015-05-22Fixed #16891 -- Made Model/QuerySet.delete() return the number of deleted ↵Alexander Sosnovskiy
objects.
2015-04-19Fixed #11078 -- documentation update.Marco Santamaria
2015-04-14Removed docs for removed transaction APIs.Tim Graham
2015-03-25Corrected typo in documentationDavid Seddon
2015-03-20Refs #14645 -- Documented bug with exclude() and multi-value relationsDavid Seddon
2015-03-18Fixed #24495 -- Allowed unsaved model instance assignment check to be bypassed.Karl Hobley
2015-03-16Fixed allow_migrate() signature in router examples.Adrian Andreias
2015-03-07Fixed typos and updated spelling wordlist.Floris den Hengst
2015-02-20Fixed #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.
2015-02-05Fixed #6707 -- Added RelatedManager.set() and made descriptors' __set__ use it.Loic Bistuer
Thanks Anssi Kääriäinen, Carl Meyer, Collin Anderson, and Tim Graham for the reviews.
2015-02-03Fixed #24149 -- Normalized tuple settings to lists.darkryder
2015-02-01Removed versionadded/changed notes for 1.7.Tim Graham
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