summaryrefslogtreecommitdiff
path: root/docs/topics/db/examples
AgeCommit message (Collapse)Author
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.
2025-03-13Fixed incorrect formatting for inline pluralized code references in docs.Clifford Gama
2023-03-01Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.django-bot
2023-02-28Refs #34140 -- Corrected rst code-block and various formatting issues in docs.Joseph Victor Zammit
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.
2023-02-07Fixed #34310 -- Added deletion example to one-to-one topic.Marcelo Galigniana
2022-11-10Improved readability of string interpolation in frequently used examples in ↵Trey Hunner
docs.
2022-09-15Described Article-Reporter relationship in many-to-one topic.Pamela Fox
2022-03-17Added missing backticks to function names.Mariusz Felisiak
2021-07-29Fixed 32956 -- Lowercased spelling of "web" and "web framework" where ↵David Smith
appropriate.
2020-11-13Changed docs and a code comment to use gender-neutral pronouns.Nick Pope
Follow up to e1b77238171cc96f4451a06fb4682e2378896238.
2020-05-04Refs #30573 -- Rephrased "Of Course" and "Obvious(ly)" in documentation and ↵Adam Johnson
comments.
2020-03-17Corrected outdated sentence in One-to-one relationships docs.Philipp Bosch
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-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-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-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-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
2017-01-18Refs #23919 -- Removed Python 2 notes in docs.Tim Graham
2016-05-07Fixed #26595 -- Removed unnecessary save() in one_to_one.txt example.shiblystory
2016-02-01Unified some doc links to OneToOneField and ManyToManyField.Tim Graham
2016-01-22Fixed #26020 -- Normalized header stylings in docs.Elif T. Kus
2015-10-27Fixed #25550 -- Deprecated direct assignment to the reverse side of a ↵Tim Graham
related set.
2015-10-06Fixed #25508 -- Modified QuerySet.__repr__() to disambiguate it from a list.Tim Graham
2015-09-23Removed versionadded/changed annotations for 1.8.Tim Graham
2015-09-23Fixed typo in docs/topics/db/examples/one_to_one.txtDon Kirkby
2015-08-10Fixed #25160 -- Moved unsaved model instance data loss check to Model.save()Tim Graham
This mostly reverts 5643a3b51be338196d0b292d5626ad43648448d3 and 81e1a35c364e5353d2bf99368ad30a4184fbb653. Thanks Carl Meyer for review.
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella
ForeignKey/OneToOneField
2015-03-18Fixed #24495 -- Allowed unsaved model instance assignment check to be bypassed.Karl Hobley
2014-08-19Removed unnecessary code-block directives.areski
2014-08-13Fixed #23283 -- Added default=False to BooleanField's in the docs.Ola Sitarska
Thanks Baptiste for the suggestion.
2014-06-05Fixed #10811 -- Made assigning unsaved objects to FK, O2O, and GFK raise ↵Anubhav Joshi
ValueError. This prevents silent data loss. Thanks Aymeric Augustin for the initial patch and Loic Bistuer for the review.
2014-04-26Updated doc links to point to Python 3 documentationClaude Paroz
2014-03-24Fixed #22048 - Enhanced docs to cover nonexistent one-to-one relationships.Adam Kaliński
Thanks EvilDMP for the suggestion.
2014-02-13Fixed #21951 -- Updated docs to use __str__ for Python 3Alasdair Nicol
Thanks Tim Graham for the report and recommendations
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.
2013-07-05Fixed #20224 -- Update docs examples which mention __unicode__Claude Paroz
Thanks Marc Tamlyn and Tim Graham for the review.
2013-03-03Removed unnecessary imports.Aymeric Augustin
2013-02-07Fixed #19756 - Corrected a ManyToMany example and added some links and markup.Tim Graham
2012-09-08Avoided mixing dates and datetimes in the examples.Aymeric Augustin
Refs #16023.
2012-04-30Replaced print statement by print function (forward compatibility syntax).Claude Paroz
2012-03-14Fixed #17605: Restored deleted query documentation that used to live in ↵James Bennett
doctests. Thanks zsiciarz for work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17737 bcc190cf-cafb-0310-a4f2-bffc1f526a37