summaryrefslogtreecommitdiff
path: root/docs/topics/db/multi-db.txt
AgeCommit message (Collapse)Author
2026-03-28Fixed #29762 -- Doc'd how database routers fetch related objects.VIZZARD-X
Thanks James Bligh for the review. Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
2025-08-25Refs #36485 -- Rewrapped docs to 79 columns line length.David Smith
Lines in the docs files were manually adjusted to conform to the 79 columns limit per line (plus newline), improving readability and consistency across the content.
2024-11-14Fixed #35887 -- Added imports and admin.site.register to non-partial admin ↵Alexander Lazarević
inline doc examples.
2024-01-31Fixed #35156 -- Removed outdated note about not supporting foreign keys by ↵Ben Cail
SQLite.
2023-03-01Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.django-bot
2023-02-10Refs #34140 -- Applied rst code-block to non-Python examples.Carlton Gibson
Thanks to J.V. Zammit, Paolo Melchiorre, and Mariusz Felisiak for reviews.
2022-03-08Rewrote some references to "master".Adam Johnson
Following d9a266d657f66b8c4fa068408002a4e3709ee669.
2022-02-22Removed redundant QuerySet.all() calls in docs and tests.Nick Pope
Most QuerySet methods are mapped onto the Manager and, in general, it isn't necessary to call .all() on the manager.
2021-12-28Avoided counting attributes and methods in docs.Mariusz Felisiak
2020-12-08Fixed #32233 -- Cleaned-up duplicate connection functionality.Florian Apolloner
2020-10-08Fixed #32083 -- Added link back to migrating section in multi-db docs example.Carlton Gibson
2020-07-16Refs #31502 -- Made minor edits to Model._state docs.Adam Johnson
2020-07-03Adjusted multi-db example to avoid confusion with DATABASES keys.MansurAliKoroglu
2020-06-01Made small improvement to docs/topics/db/multi-db.txt.Nikita Sobolev
2019-11-20Fixed #27164 -- Fixed an example of using routers in multiple databases docs.Caio Ariede
Make sure that AuthRouter includes ContentType in the same database.
2019-09-06Fixed #30573 -- Rephrased documentation to avoid words that minimise the ↵Tobias Kunze
involved difficulty. This patch does not remove all occurrences of the words in question. Rather, I went through all of the occurrences of the words listed below, and judged if they a) suggested the reader had some kind of knowledge/experience, and b) if they added anything of value (including tone of voice, etc). I left most of the words alone. I looked at the following words: - simply/simple - easy/easier/easiest - obvious - just - merely - straightforward - ridiculous Thanks to Carlton Gibson for guidance on how to approach this issue, and to Tim Bell for providing the idea. But the enormous lion's share of thanks go to Adam Johnson for his patient and helpful review.
2019-02-25Refs #29683 -- Updated multi-db docs for view permission.Tim Graham
2018-06-28Refs #29513 -- Linked the testing docs from the multi-db topic guide.Mattia Cattarinussi
2018-04-23Fixed #29349 -- Doc'd the default behavior of router.allow_relation().Stefan R. Filipek
2017-11-28Fixed #28853 -- Updated connection.cursor() uses to use a context manager.Jon Dufresne
2017-10-30Fixed 'a'/'an' mix-ups in docs.Ville Skyttä
2017-06-26Refs #23919 -- Stopped inheriting from object to define new style classes.Mariusz Felisiak
Tests and docs complement to cecc079168e8669138728d31611ff3a1e7eb3a9f.
2017-03-20Removed extra characters in docs header underlines.Mariusz Felisiak
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super() in docs.chillaranand
2017-01-17Removed versionadded/changed annotations for 1.10.Tim Graham
2016-11-11Fixed typo in docs/topics/db/multi-db.txt.Jezeniel Zapanta
2016-09-01Refs #25850, #27142, #27110 -- Documented migration history consistency checks.Shai Berger
2016-09-01Refs #27164 -- Fixed typo in docs/topics/db/multi-db.txtTim Graham
2016-08-15Documented how allow_migrate() interacts with makemigrations.Timothy Allen
2016-08-05Edited multi-db topic guide for grammar and clarity.Liz Lemon
2016-02-12Fixed allow_migrate() signature in documentationMarkus Holtermann
2016-01-14Fixed #23868 -- Added support for non-unique django-admin-options in docs.Tim Graham
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.
2015-12-29Fixed #25985 -- Updated signature of ModelAdmin.formfield_for_* to make ↵Tim Graham
request a positional argument.
2015-11-07Fixed #25681 -- Added 'default' to DATABASES example.Attila Tovt
2015-09-23Refs #24351 -- Removed support for the old allow_migrate() signature per ↵Tim Graham
deprecation timeline.
2015-08-07Fixed #25175 -- Renamed the postgresql_psycopg2 database backend to postgresql.Caio Ariede
2015-06-05Capitalized "Python" in docs.Tim Graham
2015-03-16Fixed allow_migrate() signature in router examples.Adrian Andreias
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-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-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-07-30Fixed #23067 -- Updated docs to use django-adminChristoph Heer
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-13Removed some references to django.contrib.comments which has been removed.Tim Graham
2014-04-10Fixed #22419 -- Typo in docs/topics/db/multi-db.txt.Tim Graham
Thanks Josh Kupershmidt.
2013-11-21Fixed #21479 -- Favor 'migrate' over 'syncdb' in the docs.Loic Bistuer
2013-09-05Fixed #21035 -- Changed docs to treat the acronym SQL phonetically.Eric Boersma
The documentation and comments now all use 'an' to refer to the word SQL and not 'a'.