summaryrefslogtreecommitdiff
path: root/docs/ref/models/options.txt
AgeCommit message (Collapse)Author
2025-11-13Fixed #36686 -- Clarified Meta.ordering is ignored in GROUP BY queries.Kasyap Pentamaraju
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-08-25Refs #36485 -- Removed unnecessary parentheses in :meth: and :func: roles in ↵David Smith
docs.
2025-07-23Removed double spaces after periods and within phrases.Sarah Boyce
2024-03-01Refs #35234 -- Deprecated CheckConstraint.check in favor of .condition.Simon Charette
Once the deprecation period ends CheckConstraint.check() can become the documented method that performs system checks for BaseConstraint subclasses.
2023-09-18Refs #27236 -- Removed Meta.index_together per deprecation timeline.Mariusz Felisiak
2023-09-18Removed versionadded/changed annotations for 4.2.Mariusz Felisiak
This also removes remaining versionadded/changed annotations for older versions.
2023-07-21Added missing backticks in docs.Mariusz Felisiak
2023-03-01Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.django-bot
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.
2022-12-28Fixed #18468 -- Added support for comments on columns and tables.kimsoungryoul
Thanks Jared Chung, Tom Carrick, David Smith, Nick Pope, and Mariusz Felisiak for reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: Nick Pope <nick@nickpope.me.uk>
2022-07-12Fixed #27236 -- Deprecated Meta.index_together in favor of Meta.indexes.David Wobrock
This also deprecates AlterIndexTogether migration operation.
2020-06-26Fixed #31743 -- Doc't that managed=False prevents Django from managing ↵Steven Pousty
tables modifications.
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-08-09Fixed #30688 -- Clarified base_manager_name docs.Carlton Gibson
2019-05-27Refs #29548 -- Updated docs for MariaDB support.Mariusz Felisiak
2019-04-24Changed tuple Mate.unique_together/permissions to lists in docs.Luke Plant
2019-01-17Removed versionadded/changed annotations for 2.1.Tim Graham
2018-12-29Fixed #30063 -- Doc'd that Meta.unique_together may be deprecated in favor ↵Paveł Tyślacki
of Meta.constraints.
2018-11-15Used auto-numbered lists in documentation.François Freitag
2018-11-13Generalized check constraint docs for other constraints.Simon Charette
2018-10-02Refs #11964 -- Changed CheckConstraint() signature to use keyword-only ↵Simon Charette
arguments. Also renamed the `constraint` argument to `check` to better represent which part of the constraint the provided `Q` object represents.
2018-09-13Refs #14357 -- Deprecated Meta.ordering affecting GROUP BY queries.Ramiro Morales
Thanks Ramiro Morales for contributing to the patch.
2018-07-10Fixed #11964 -- Added support for database check constraints.Ian Foote
2018-05-17Removed versionadded/changed annotations for 2.0.Tim Graham
2018-05-16Fixed #8936 -- Added a view permission and a read-only admin.olivierdalang
Co-authored-by: Petr Dlouhy <petr.dlouhy@email.cz> Co-authored-by: Olivier Dalang <olivier.dalang@gmail.com>
2017-09-22Removed versionadded/changed annotations for 1.11.Tim Graham
2017-09-05Fixed #11557 -- Added support for a list of fields in Meta.get_latest_by and ↵François Freitag
QuerySet.earliest()/latest().
2017-09-05Fixed #28335 -- Allowed query expressions in Meta.ordering.Dima Kudosh
2017-08-08Fixed #28471 -- Clarified that Meta.indexes is preferred to index_together.Tim Graham
2017-03-20Removed extra characters in docs header underlines.Mariusz Felisiak
2017-01-17Removed versionadded/changed annotations for 1.10.Tim Graham
2017-01-17Refs #26230 -- Removed support for model name query lookups when using ↵Tim Graham
Meta.default_related_name. Per deprecation timeline.
2016-08-05Fixed #26808 -- Added Meta.indexes for class-based indexes.Akshesh
* Added the index name to its deconstruction. * Added indexes to sqlite3.schema._remake_table() so that indexes aren't dropped when _remake_table() is called. Thanks timgraham & MarkusH for review and advice.
2016-07-25Fixed #26925 -- Linked aggregation ordering topic from Meta.ordering docs.Tim Graham
2016-07-15Fixed inconsistent indentation in docs/ref/models/options.txtTim Graham
2016-05-20Removed versionadded/changed annotations for 1.9.Tim Graham
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-03-31Fixed #26438 -- Fixed multiple .objects typos in the docs.Simon Charette
Thanks Pablo Oubiña for the report.
2016-03-03Fixed #26310 -- Documented that a queryset ordering must be specified to ↵Tim Graham
ensure ordered results. Thanks Simon Charette for review.
2016-02-27Fixed #26230 -- Made default_related_name affect related_query_name.chenesan
2015-09-23Removed versionadded/changed annotations for 1.8.Tim Graham
2015-09-03Documented a limitation of Options.required_db_features.Tim Graham
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella
ForeignKey/OneToOneField
2015-06-19Fixed #24881 -- Clarified Meta.order_with_respect_to documentationjohannes.linke
2015-05-02Fixed #24693 -- Added label and label_lower property to Model._metaLuis Del Giudice
2015-04-18Fixed #23879 -- Allowed model migration skip based on feature/vendorClaude Paroz
Thanks Carl Meyer for the report and review, and Tim Graham for the review.
2015-02-10Disallowed importing concrete models without an application.Aymeric Augustin
Removed fragile algorithm to find which application a model belongs to. Fixed #21680, #21719. Refs #21794.
2015-02-01Removed versionadded/changed notes for 1.7.Tim Graham