summaryrefslogtreecommitdiff
path: root/docs/topics/db
AgeCommit message (Collapse)Author
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
2017-11-28Fixed #28853 -- Updated connection.cursor() uses to use a context manager.Jon Dufresne
2017-11-23Linked to prefetch_related_objects func in DB optimization docs.Luke Plant
2017-11-07Fixed #28770 -- Warned that quoting a placeholder in a raw SQL string is unsafe.Tim Graham
Thanks Hynek Cernoch for the report and review.
2017-11-07Fixed typo in docs/topics/db/aggregation.txt.Tim Graham
2017-10-30Fixed 'a'/'an' mix-ups in docs.Ville Skyttä
2017-10-13Removed incorrect reference to ModelChoiceField in Field.choices docs.LeeHanYeong
2017-10-03Fixed #28584 -- Dropped support for SQLite < 3.7.15.Tim Graham