summaryrefslogtreecommitdiff
path: root/docs/topics/db
AgeCommit message (Collapse)Author
2019-11-26[3.0.x] Used :ticket: role in all tickets links.Sergey Fedoseev
Backport of abc51d44afcb8482c64c0bb8c1022f11e7eb2bbb from master
2019-11-20[3.0.x] Fixed #27164 -- Fixed an example of using routers in multiple ↵Caio Ariede
databases docs. Make sure that AuthRouter includes ContentType in the same database. Backport of 608e06023e6eaf75f744134a0fd203853260e616 from master
2019-11-12[3.0.x] Fixed #30828 -- Added how to remove/insert many-to-many relations in ↵David Foster
bulk to the database optimization docs. Backport of 6a04e69e686cf417b469d7676f93c2e3a9c8d6a3 from master
2019-11-07[3.0.x] Replaced 'n_' prefix with 'number_of_' in docs/topics/db/queries.txt.René Fleschenberg
Backport of 367634f976ab43db93321bf4eb898449b670e291 from master
2019-11-05[3.0.x] Refs #30947 -- Changed tuples to lists in model Meta options ↵Mariusz Felisiak
examples in docs. Follow up to 97d3321e89c8d4434927bdbc308db1ccffa99d3b. Backport of e5cacb1f47cb3a2943bbc7685a630c84503b0d1b from master
2019-10-30[3.0.x] Corrected error message in Many-to-many relationships docs.Mariusz Felisiak
Backport of a370dbd9543703677697e80701b5dbec8c8e7da7 from master
2019-10-14[3.0.x] Refs #26207 -- Removed obsolete note about slow constructing a model ↵Simon Charette
with deferred fields. This is not true since 7f51876 removed the necessity of creating proxy model classes at runtime for each deferred field sets. Backport of 35396a7f243eceec42cc90725ab573a7d9ac3b4c from master
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-09-04Fixed #27910 -- Added enumeration helpers for use in Field.choices.Shai Berger
These classes can serve as a base class for user enums, supporting translatable human-readable names, or names automatically inferred from the enum member name. Additional properties make it easy to access the list of names, values and display labels. Thanks to the following for ideas and reviews: Carlton Gibson, Fran Hrženjak, Ian Foote, Mariusz Felisiak, Shai Berger. Co-authored-by: Shai Berger <shai@platonix.com> Co-authored-by: Nick Pope <nick.pope@flightdataservices.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2019-08-20Corrected typo in search docs. (#11673)Dan Swain
2019-07-29Fixed #30656 -- Added QuerySet.bulk_update() to the database optimization docs.daniel a rios
2019-07-29Refs #30656 -- Reorganized bulk methods in the database optimization docs.daniel a rios
2019-06-24Fixed typo in docs/topics/db/models.txt.Meysam
2019-06-04Fixed #30505 -- Doc'd how changes in the order of Field.choices affect ↵Caio Ariede
migrations.
2019-05-27Refs #29548 -- Updated docs for MariaDB support.Mariusz Felisiak
2019-05-22Fixed #30419 -- Favored Meta.indexes over Meta.index_together in ↵Akshesh
optimization docs.
2019-05-17Changed docs to link to Python's description of iterable.Jon Dufresne
2019-05-15Changed tuple choices to list in docs.Jon Dufresne
2019-05-08Used time.monotonic() instead of time.time() where applicable.Przemysław Suliga
time.monotonic() available from Python 3.3: - Nicely communicates a narrow intent of "get a local system monotonic clock time" instead of possible "get a not necessarily accurate Unix time stamp because it needs to be communicated to outside of this process/machine" when time.time() is used. - Its result isn't affected by the system clock updates. There are two classes of time.time() uses changed to time.monotonic() by this change: - measuring time taken to run some code. - setting and checking a "close_at" threshold for for persistent db connections (django/db/backends/base/base.py).
2019-04-23Fixed #30365 -- Fixed syntax highlighting in SQL examples.Daniel Musketa
Sphinx interprets some "%[a-z]" in SQL statements as a "Literal.String.Interpol" which leads to incorrect highlighting.
2019-04-13Fixed #30347 -- Fixed typo in docs/topics/db/aggregation.txt.Daniel Musketa
2019-03-29Removed unnecessary /static from links to PostgreSQL docs.Nick Pope
2019-03-28Used extlinks for Django's source code.Tim Graham
2019-02-25Refs #29683 -- Updated multi-db docs for view permission.Tim Graham
2019-01-15Fixed #9475 -- Allowed RelatedManager.add(), create(), etc. for m2m with a ↵Collin Anderson
through model.
2018-12-27Followed style guide for model attribute ordering.Matt Wiens
2018-11-15Used auto-numbered lists in documentation.François Freitag
2018-11-13Fixed #29940 -- Recommended using the ORM rather than raw SQL.Katie McLaughlin
2018-10-13Removed unused fields from aggregation docs.Peter Inglesby
2018-09-25Normalized spelling of "lowercase" and "lowercased".Jon Dufresne
2018-09-25Refs #29784 -- Normalized Python docs links to omit the version.Jon Dufresne
2018-09-14Fixed #29756 -- Doc'd that model field names can't end with an underscore.Tim Graham
2018-09-13Refs #14357 -- Deprecated Meta.ordering affecting GROUP BY queries.Ramiro Morales
Thanks Ramiro Morales for contributing to the patch.
2018-09-10Refs #20910 -- Replaced snippet directive with code-block.Curtis Maloney
2018-09-10Fixed #29573 -- Added links in aggregation topic guide.Vishvajit Pathak
2018-08-18Fixed #29685 -- Added QuerySet.explain() to the database optimization docs.Tom Forbes
2018-07-24Fixed #29591 -- Fixed numbering words in ↵Tim Graham
docs/topics/db/examples/many_to_many.txt.
2018-07-19Fixed IntegrityError in docs/topics/db/examples/many_to_one.txt.Tim Graham
2018-06-28Refs #29513 -- Linked the testing docs from the multi-db topic guide.Mattia Cattarinussi
2018-05-17Removed versionadded/changed annotations for 2.0.Tim Graham
2018-05-12Alphabetized imports in various docs.Mariusz Felisiak
Follow-up of d97cce34096043b019e818a7fb98c0f9f073704c and 7d3fe36c626a3268413eb86d37920f132eb4a54f.
2018-04-23Fixed #29349 -- Doc'd the default behavior of router.allow_relation().Stefan R. Filipek
2018-04-19Fixed #29337 -- Added __len__() & __bool__() to RawQuerySet.Adnan Umer
2018-04-19Fixed #29339 -- Added result caching to RawQuerySet.Adnan Umer
2018-04-11Fixed typo in docs/topics/db/managers.txt.Luoxzhg
2018-04-10Fixed mistakes in docs/topics/db/examples/many_to_one.txt.Luoxzhg
2018-03-20Fixed #28514 -- Clarifed docs about idempotence of RelatedManager.add().Jezeniel Zapanta
2018-03-20Refs #11278 -- Clarified RelatedManager differences between reverse ↵Denis
one-to-many and many-to-many relations.
2018-03-13Fixed #29192 -- Corrected docs regarding overriding fields from abstract ↵ovalseven8
base classes.
2018-01-07Updated various links in docs to use HTTPS.Mariusz Felisiak