summaryrefslogtreecommitdiff
path: root/docs/topics/db
AgeCommit message (Collapse)Author
2016-04-27[1.9.x] Refs #25136 -- Fixed nonexistent field reference in aggregation ↵Tim Graham
topic guide. Thanks Ankush Thakur for the report and Simon for the review. Backport of fe70f280d7ea4402f676696c4013c4a23d4e4990 from master
2016-03-31[1.9.x] Fixed #26438 -- Fixed multiple .objects typos in the docs.Simon Charette
Thanks Pablo Oubiña for the report. Backport of 64aba7a8aba06b8be52a1a099b44e1d3be4bdd26 from master
2016-03-25[1.9.x] Fixed typo in docs/topics/db/aggregation.txt.Tim Shaffer
Backport of 8550566af6321fe111ac1fe6497720e6ac291824 from master
2016-02-25[1.9.x] Corrected a run on sentence in doc/topics/db/models.txt.Tim Graham
Backport of 22d2a5b00ac99e638d95cbfe1cc41ef217fa50d4 from master
2016-02-12[1.9.x] Fixed allow_migrate() signature in documentationMarkus Holtermann
Backport of 228427ab1ab6aaafed4eacfb532f7ddb6cc1ed6c from master
2016-02-11[1.9.x] Clarified "database column type" explanation.Becka R
Backport of cf48962b361b573e580b79839c19b640b7f304a2 from master
2016-02-01[1.9.x] Fixed #26124 -- Added missing code formatting to docs headers.Tim Graham
Backport of a6ef025dfb2a1d1bd23893408eef6d066fb506d9 from master
2016-02-01[1.9.x] Fixed #23868 -- Added support for non-unique django-admin-options in ↵Tim Graham
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[1.9.x] Unified some doc links to OneToOneField and ManyToManyField.Tim Graham
Backport of 8ce8beb3f24042ed0c3da00ef3d23c25036021ed from master
2016-01-22[1.9.x] Fixed #26020 -- Normalized header stylings in docs.Elif T. Kus
Backport of bca9faae95db2a92e540fbd08505c134639916fe from master
2015-12-31[1.9.x] Removed British/Austrialian word: whilist.Tim Graham
Backport of 98839e906632dfe77c6f6906d61d62868a0541dc from master
2015-12-15[1.9.x] Refs #10060 -- Corrected description of multiple annotations bug.Tim Graham
Backport of 3d2236773ba88e330841b8c72183b0e978e10909 from master
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