summaryrefslogtreecommitdiff
path: root/docs/topics/db
AgeCommit message (Collapse)Author
2015-09-23Refs #24351 -- Removed support for the old allow_migrate() signature per ↵Tim Graham
deprecation timeline.
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
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