summaryrefslogtreecommitdiff
path: root/docs/topics/db
AgeCommit message (Collapse)Author
2014-08-26[1.7.x] Fixed #22620 -- Emphasized role of DATABASE_ROTERS in multi-db docs.Tim Graham
Thanks Mike O'Connor for the suggestions. Backport of 5ecead9ab9 from master
2014-08-19[1.7.x] Fixed #23282 -- Corrected inheritance and reverse relations example.Tim Graham
Thanks knowledgepoint-devs for the report and claudep for review. Backport of 7006187064 from master
2014-08-13[1.7.x] Fixed #23283 -- Added default=False to BooleanField's in the docs.Ola Sitarska
Thanks Baptiste for the suggestion. Backport of 6947885926 from master
2014-08-02[1.7.x] Updated MySQL links to version 5.6.Tim Graham
Backport of fb4f3e04b1 from master
2014-07-08[1.7.x] Fixed #22978 -- Removed a USA-centric example that didn't add much.Tim Graham
Backport of 9f18b6bcb0 from master
2014-07-02[1.7.x] Removed non-existent reference to args/kwargs in manager docs.Éric Araujo
Backport of 5842d8eba4 from master
2014-06-12[1.7.x] Fixed #22349 -- Added a note clarifying `RawQuerySet` has no `__len__`.Moayad Mardini
Thanks cdestigter for the report. Backport of 2d425116e2 from master
2014-06-05[1.7.x] Fix missing highlighting in some code examplesÉric Araujo
Backport of 84cafc2b35 from master
2014-05-27[1.7.x] Fixed #22601 -- Added a note about model inheritance.Moayad Mardini
Thanks semenov for the report. Backport of 2ea1e70b85 from master
2014-05-13[1.7.x] Fixed typo in transactions.txtHaris Ibrahim K. V
Backport of f2a8e47cfd from master
2014-04-30[1.7.x] Fixed #22442 -- Provided additional documentation regarding id ↵Tim Graham
fields clashing. Thanks benjaoming for raising the issue and Loic for the examples. Backport of 8ec388a69d from master
2014-04-26[1.7.x] Updated doc links to point to Python 3 documentationClaude Paroz
Backport of 680a0f08b from master.
2014-04-25[1.7.x] Fixed #22493 - Added warnings to raw() and extra() docs about SQL ↵Moayad Mardini
injection Thanks Erik Romijn for the suggestion. Backport of 3776926cfe from master
2014-04-21[1.7.x] Fixed queries that may return unexpected results on MySQL due to ↵Erik Romijn
typecasting. This is a security fix. Disclosure will follow shortly. Backport of 75c0d4ea3ae48970f788c482ee0bd6b29a7f1307 from master
2014-04-10[1.7.x] Fixed #22419 -- Typo in docs/topics/db/multi-db.txt.Tim Graham
Thanks Josh Kupershmidt. Backport of c487b1e230 from master
2014-04-10[1.7.x] Fixed #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. Backport of b990df1d63 from master
2014-03-24[1.7.x] Fixed #22048 - Enhanced docs to cover nonexistent one-to-one ↵Adam Kaliński
relationships. Thanks EvilDMP for the suggestion. Backport of ec08d62a20 from master
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
2013-09-22Reference Meta.index_together in DB performance guide.Ramiro Morales
2013-09-20Fixed #20877 -- added a performance optimization guideevildmp
2013-09-20Clarified why one must not catch database errors inside atomic.Aymeric Augustin