summaryrefslogtreecommitdiff
path: root/docs/topics/db
AgeCommit message (Collapse)Author
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
2014-05-17Fixed #22019 -- Added Model.objects reference documentation.Aliaksandr Semianiuk
2014-05-13Fixed typo in transactions.txtHaris Ibrahim K. V
2014-05-13Removed some references to django.contrib.comments which has been removed.Tim Graham
2014-04-30Fixed #22442 -- Provided additional documentation regarding id fields clashing.Tim Graham
Thanks benjaoming for raising the issue and Loic for the examples.
2014-04-26Updated doc links to point to Python 3 documentationClaude Paroz
2014-04-25Fixed #22493 - Added warnings to raw() and extra() docs about SQL injectionMoayad Mardini
Thanks Erik Romijn for the suggestion.
2014-04-21Fixed queries that may return unexpected results on MySQL due to typecasting.Erik Romijn
This is a security fix; disclosure to follow shortly.
2014-04-10Fixed #22419 -- Typo in docs/topics/db/multi-db.txt.Tim Graham
Thanks Josh Kupershmidt.
2014-04-10Fixed #22343 -- Disallowed select_for_update in autocommit modeShai Berger
The ticket was originally about two failing tests, which are fixed by putting their queries in transactions. Thanks Tim Graham for the report, Aymeric Augustin for the fix, and Simon Charette, Tim Graham & Loïc Bistuer for review.
2014-03-24Removed versionadded/changed annotations for 1.6.Tim Graham
2014-03-24Fixed #22048 - Enhanced docs to cover nonexistent one-to-one relationships.Adam Kaliński
Thanks EvilDMP for the suggestion.
2014-03-22Fixed #22313 -- Removed 'u' prefixes from documentationClaude Paroz
2014-03-11Fixed #22217 - ManyToManyField.through_fields fixes.Akis Kesoglou
- Docs description of arguments mix up. - Keep it from erroneously masking E332 check. - Add checks E338 and E339, tweak message of E337.
2014-03-05Fixed #14549 - Removed restriction of single FKs on intermediary tablesAkis Kesoglou
Thanks to Loic Bistuer for review. Minor changes to error messages done by committer.
2014-03-03Fixed #21986 -- Added some guidelines for database indexes.Alex de Landgraaf
Thanks django-issues at colons.co for the suggestion.
2014-02-28Fixed doc typos.Tim Graham
2014-02-25Removed a nonexistent link in the docs.Tim Graham
2014-02-25Fixed docs typos.Szczepan Cieślik
2014-02-23added documentation on Model attributesNicolaas Heyning
2014-02-20Capitalize SQL keywordsDavid Sanders
2014-02-20Capitalize SQL keywordsDavid Sanders
2014-02-19Added an example to the release notes for custom reverse managers.Loic Bistuer
2014-02-13Fixed #21951 -- Updated docs to use __str__ for Python 3Alasdair Nicol
Thanks Tim Graham for the report and recommendations
2014-02-05Fixed gendered examples in the docs.Loic Bistuer
2014-01-26Fixed typo. Refs #21836.Aymeric Augustin
2014-01-25Fixed #21836 -- Improved transaction docs about autocommit modeChris Jerdonek
Clarified that queries in autocommit mode are committed immediately only if a transaction has not already been started. Added to the main transaction docs that Django's TestCase class implicitly wraps its tests in transactions.
2014-01-20Fixed #16905 -- Added extensible checks (nee validation) frameworkRussell Keith-Magee
This is the result of Christopher Medrela's 2013 Summer of Code project. Thanks also to Preston Holmes, Tim Graham, Anssi Kääriäinen, Florian Apolloner, and Alex Gaynor for review notes along the way. Also: Fixes #8579, fixes #3055, fixes #19844.
2014-01-19Fixed #18907 -- Correct docs regard population of model backrefs.Tim Graham
Thanks simonpercivall for the report and Aymeric for the patch.
2014-01-17Removed some unnecessary __exact operators in filters.Tim Graham
2014-01-16Fixed #21343 -- Noted many-to-many restrictions with intermediate model.Tim Graham
Thanks EvilDMP for the report.
2014-01-02Fixed typos. Changed grammar.Frank Tobia
Minor typos. Some grammar changes.
2013-12-04Fixing manager documentation inaccuracyFrank Wiles
2013-11-30Removed gender-based pronouns per [c0a2daad78].Tim Graham
2013-11-21Fixed #21479 -- Favor 'migrate' over 'syncdb' in the docs.Loic Bistuer
2013-11-08Noted that .clear() will delete intermediary modelsCody Scott
2013-10-22Fixed #17027 -- Added support for the power operator in F expressions.Florian Hahn
Thanks dan at dlo.me for the initial patch. - Added __pow__ and __rpow__ to ExpressionNode - Added oracle and mysql specific power expressions - Added used-defined power function for sqlite
2013-10-11Minor edits to docs/topics/db/queries.txt.Cody Scott
2013-10-10Small improvements to docs/topics/db/models.txtCody Scott
2013-10-02Fixed #10913 -- Documented how related_name affects QuerySet filteringTim Graham
Thanks neithere for the suggestion.
2013-09-30Fixed #21134 -- Prevented queries in broken transactions.Aymeric Augustin
Squashed commit of the following: commit 63ddb271a44df389b2c302e421fc17b7f0529755 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Sep 29 22:51:00 2013 +0200 Clarified interactions between atomic and exceptions. commit 2899ec299228217c876ba3aa4024e523a41c8504 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Sep 22 22:45:32 2013 +0200 Fixed TransactionManagementError in tests. Previous commit introduced an additional check to prevent running queries in transactions that will be rolled back, which triggered a few failures in the tests. In practice using transaction.atomic instead of the low-level savepoint APIs was enough to fix the problems. commit 4a639b059ea80aeb78f7f160a7d4b9f609b9c238 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Tue Sep 24 22:24:17 2013 +0200 Allowed nesting constraint_checks_disabled inside atomic. Since MySQL handles transactions loosely, this isn't a problem. commit 2a4ab1cb6e83391ff7e25d08479e230ca564bfef Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sat Sep 21 18:43:12 2013 +0200 Prevented running queries in transactions that will be rolled back. This avoids a counter-intuitive behavior in an edge case on databases with non-atomic transaction semantics. It prevents using savepoint_rollback() inside an atomic block without calling set_rollback(False) first, which is backwards-incompatible in tests. Refs #21134. commit 8e3db393853c7ac64a445b66e57f3620a3fde7b0 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Sun Sep 22 22:14:17 2013 +0200 Replaced manual savepoints by atomic blocks. This ensures the rollback flag is handled consistently in internal APIs.
2013-09-25Fixed #17671 - Cursors are now context managers.Michael Manfre
2013-09-25Fixed #3871 -- Custom managers when traversing reverse relations.Loic Bistuer