summaryrefslogtreecommitdiff
path: root/docs/topics/db
AgeCommit message (Collapse)Author
2016-06-20[1.10.x] Fixed typo in docs/topics/db/managers.txtTim Graham
Backport of 00551c3eff5cedcb9cc7ce5af97b948d62713d97 from master
2016-06-04[1.10.x] Fixed #25127 -- Documented how to organize models in a package.Evan Palmer
Backport of 84d8d1d7151a4ee70ae35037d37f76a40d18da64 from master
2016-06-03[1.10.x] Fixed #26021 -- Applied hanging indentation to docs.Ed Henderson
Backport of 4a4d7f980e2a66756e1e424f7648dcd28ff765b7 from master
2016-05-25[1.10.x] Added imports to docs/topics/db/aggregation.txt example.MariKiev
Backport of 30d110ef43d8a3c50ea8ec4e4fe49bd2bb859530 from master
2016-05-17Fixed #10506, #13793, #14891, #25201 -- Introduced new APIs to specify ↵Loïc Bistuer
models' default and base managers. This deprecates use_for_related_fields. Old API: class CustomManager(models.Model): use_for_related_fields = True class Model(models.Model): custom_manager = CustomManager() New API: class Model(models.Model): custom_manager = CustomManager() class Meta: base_manager_name = 'custom_manager' Refs #20932, #25897. Thanks Carl Meyer for the guidance throughout this work. Thanks Tim Graham for writing the docs.
2016-05-17Fixed #20932, #25897 -- Streamlined manager inheritance.Loïc Bistuer
2016-05-16Fixed #24305 -- Allowed overriding fields on abstract models.Aron Podrigal
Fields inherited from abstract base classes may be overridden like any other Python attribute. Inheriting from multiple models/classes with the same attribute name will follow the MRO.
2016-05-14Refs #26021 -- Used hanging indentation in some doc examples.Tim Graham
2016-05-13Fixed typo in docs/topics/db/models.txtTim Graham
2016-05-13Fixed #24938 -- Added PostgreSQL trigram support.Matthew Somerville
2016-05-08Fixed #26483 -- Updated docs.python.org links to use Intersphinx.Tim Graham
2016-05-07Fixed #26595 -- Removed unnecessary save() in one_to_one.txt example.shiblystory
2016-04-27Refs #25136 -- Fixed nonexistent field reference in aggregation topic guide.Tim Graham
Thanks Ankush Thakur for the report and Simon for the review.
2016-04-22Refs #3254 -- Added full text search to contrib.postgres.Marc Tamlyn
Adds a reasonably feature complete implementation of full text search using the built in PostgreSQL engine. It uses public APIs from Expression and Lookup. With thanks to Tim Graham, Simon Charettes, Josh Smeaton, Mikey Ariel and many others for their advice and review. Particular thanks also go to the supporters of the contrib.postgres kickstarter.
2016-03-31Fixed #26438 -- Fixed multiple .objects typos in the docs.Simon Charette
Thanks Pablo Oubiña for the report.
2016-03-30Fixed #11560 -- Allowed proxy model multiple-inheritance from the same ↵Akshesh
concrete base model.
2016-03-25Fixed typo in docs/topics/db/aggregation.txt.Tim Shaffer
2016-02-25Corrected a run on sentence in doc/topics/db/models.txt.Tim Graham
2016-02-12Fixed allow_migrate() signature in documentationMarkus Holtermann
2016-02-11Clarified "database column type" explanation.Becka R
2016-02-01Unified some doc links to OneToOneField and ManyToManyField.Tim Graham
2016-02-01Fixed #26124 -- Added missing code formatting to docs headers.rowanv
2016-01-28Fixed #25354 -- Added class/app_label interpolation for related_query_name.James Pulec
2016-01-22Fixed #26020 -- Normalized header stylings in docs.Elif T. Kus
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.
2016-01-09Added a missing bracket in a queries docs example.anabelensc
2015-12-31Removed British/Austrialian word: whilist.Tim Graham
2015-12-29Fixed #25985 -- Updated signature of ModelAdmin.formfield_for_* to make ↵Tim Graham
request a positional argument.
2015-12-15Refs #10060 -- Corrected description of multiple annotations bug.Tim Graham
2015-12-08Fixed #25672 -- Clarified why related ManyToManyFields with a custom ↵bphillips
intermediate model disable the remove() method.
2015-12-01Fixed #25778 -- Updated docs links to use https when available.Jon Dufresne
2015-11-27Fixed a typo in the managers docs.James Beith
2015-11-12Fixed #10045 -- Corrected docs about .annotate()/.filter() ordering.Tim Graham
Thanks Josh, Anssi, and Carl for reviews and advice.
2015-11-07Fixed #25681 -- Added 'default' to DATABASES example.Attila Tovt
2015-10-31Fixed typo in docs/topics/db/models.txt.Tomasz Anielak
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-30Clarified that Model.delete() isn't called as a result of a cascading delete.David Sanders
2015-09-25Fixed #25462 -- Removed Model.__unicode__() in favor of ↵Tim Graham
@python_2_unicode_compatible.
2015-09-24Fixed #25455 -- Optimized dictfetchall() example.Tim Graham
Thanks aklim007 for the suggestion.
2015-09-23Removed versionadded/changed annotations for 1.8.Tim Graham
2015-09-23Refs #24351 -- Removed support for the old allow_migrate() signature per ↵Tim Graham
deprecation timeline.
2015-09-23Fixed typo in docs/topics/db/examples/one_to_one.txtDon Kirkby
2015-09-21Fixed #24921 -- set_autocommit(False) + ORM queries.Aymeric Augustin
This commits lifts the restriction that the outermost atomic block must be declared with savepoint=False. This restriction was overly cautious. The logic that makes it safe not to create savepoints for inner blocks also applies to the outermost block when autocommit is disabled and a transaction is already active. This makes it possible to use the ORM after set_autocommit(False). Previously it didn't work because ORM write operations are protected with atomic(savepoint=False).
2015-09-05Fixed #25355 -- Made two tweaks to docs/topics/db/aggregation.txt.Maarten
2015-09-03Fixed #25326 -- Added namedtuple example for executing custom SQL.Dražen Odobašić
2015-08-25Fixed #25311 -- Removed vague language about "partial commits" from docs.Tim Graham
2015-08-22Tweak some examples.Aymeric Augustin
"Area man/woman" is confusing to people not familiar with the conventions of American journalism (like me).
2015-08-11Fixed #25205 -- Removed doc references to deprecated GeoManager class.Brendan Hayward
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.