summaryrefslogtreecommitdiff
path: root/docs/topics/db
AgeCommit message (Collapse)Author
2020-05-13[3.1.x] Used :pep: role in various docs.Nick Pope
Backport of a9337b4add01e50ed8ff8d3ef44099a08cba475c from master
2020-05-08Fixed #12990, Refs #27694 -- Added JSONField model field.sage
Thanks to Adam Johnson, Carlton Gibson, Mariusz Felisiak, and Raphael Michel for mentoring this Google Summer of Code 2019 project and everyone else who helped with the patch. Special thanks to Mads Jensen, Nick Pope, and Simon Charette for extensive reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2020-05-04Refs #30573 -- Rephrased "Of Course" and "Obvious(ly)" in documentation and ↵Adam Johnson
comments.
2020-05-01Doc'd Meta inheritance from abstract parents.Greg Kaleka
2020-04-29Fixed #31356 -- Changed IRC links to the Freenode webchat.Hasan Ramezani
2020-04-04Fixed #31423 -- Clarified nested atomic() example.Simon Charette
2020-03-25Fixed #31396 -- Added binary XOR operator to F expressions.Hannes Ljungberg
2020-03-17Corrected outdated sentence in One-to-one relationships docs.Philipp Bosch
2020-03-10Fixed #27865 -- Adjusted docs example to avoid confusion with ↵Adam Radwon
models.BaseManager.
2020-03-09Fixed #31350 -- Fixed typo in docs/topics/db/optimization.txt.Shrikrishna Singh
2020-03-06Fixed #31342 -- Clarified docs about using base managers for related objects.Carlton Gibson
2020-02-24Fixed #31303 -- Removed outdated note about symmetrical intermediate table ↵Matheus Cunha Motta
for self-referential ManyToManyField. Follow up to 87b1ad6e7351464c60e751b483d9dfce3a2d3382.
2020-01-29Fixed #31212 -- Updated psycopg links to HTTPS and new location.Jon Dufresne
2020-01-15Refs #29998 -- Corrected auto-created OneToOneField parent_link in MTI docs.Mariusz Felisiak
2020-01-06Removed "Don't do that" from docs and error messages.Adam Johnson
It's slightly aggressive and doesn't explain itself.
2019-12-23Removed unnecessary code-block directives in various docs.Jon Dufresne
2019-11-26Used :ticket: role in all tickets links.Sergey Fedoseev
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-11-18Fixed #30988 -- Deprecated the InvalidQuery exception.Simon Charette
It was barely documented without pointers at its defining location and was abused to prevent misuse of the QuerySet field deferring feature.
2019-11-12Fixed #30828 -- Added how to remove/insert many-to-many relations in bulk to ↵David Foster
the database optimization docs.
2019-11-07Replaced 'n_' prefix with 'number_of_' in docs/topics/db/queries.txt.René Fleschenberg
2019-11-04Refs #30947 -- Changed tuples to lists in model Meta options examples in docs.Mariusz Felisiak
Follow up to 97d3321e89c8d4434927bdbc308db1ccffa99d3b.
2019-10-30Corrected error message in Many-to-many relationships docs.Mariusz Felisiak
2019-10-14Refs #26207 -- Removed obsolete note about slow constructing a model with ↵Simon Charette
deferred fields. This is not true since 7f51876 removed the necessity of creating proxy model classes at runtime for each deferred field sets.
2019-09-10Refs #14357 -- Made Meta.ordering not affect GROUP BY queries.Mariusz Felisiak
Per deprecation timeline.
2019-09-10Removed versionadded/changed annotations for 2.2.Mariusz Felisiak
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