summaryrefslogtreecommitdiff
path: root/docs/ref/models/fields.txt
AgeCommit message (Collapse)Author
2020-07-22[3.1.x] Doc'd Model.MultipleObjectsReturned docs and improved documentation ↵Adam Johnson
related with models exceptions. Backport of bc4fea92b296a7eacbd5f89263ca67515feeb53f from master
2020-07-17[3.1.x] Improved ManyToManyField.through docs.Adam Johnson
Backport of e7fa8aff432a90b6df9914d63aad239164b6b4d4 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-06Fixed a/an typos in "SQL" usage.Adam Johnson
2020-05-04Refs #30573 -- Rephrased "Of Course" and "Obvious(ly)" in documentation and ↵Adam Johnson
comments.
2020-05-04Corrected models.FilePathField signature in docs.Adam Johnson
2020-04-25Fixed #31514 -- Fixed default form widgets in model fields docs.Hasan Ramezani
2020-04-24Refs #31369 -- Deprecated models.NullBooleanField in favor of ↵Tim Schilling
BooleanField(null=True).
2020-04-14Fixed term warning on Sphinx 3.0.1+.Mariusz Felisiak
"term" role became case sensitive in Sphinx 3.0.1.
2020-04-08Fixed #28184 -- Allowed using a callable for FileField and ImageField storage.miigotu
2020-04-01Prevented (and corrected) single backtick usage in docs.Adam Johnson
2020-03-18Fixed #31368 -- Doc'd 'expression' parameter of ↵Hasan Ramezani
Field.from_db_value()/Expression.convert_value().
2020-02-27Fixed #31313 -- Fixed is_upperclass() example in enumeration types docs.Andrey Doroschenko
2019-11-19Fixed #27272 -- Added an on_delete RESTRICT handler to allow cascading ↵Daniel Izquierdo
deletions while protecting direct ones.
2019-11-19Fixed #30987 -- Added models.PositiveBigIntegerField.Caio Ariede
2019-09-23Refs #29915 -- Doc'd limitation of using pattern lookups with UUIDField on ↵Mariusz Felisiak
PostgreSQL.
2019-09-14Fixed #29823 -- Doc'd limitation of DecimalField on SQLite.Claude Paroz
2019-09-13Refs #27910 -- Improved documentation for model field choice enumeration types.Nick Pope
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-18Refs #28428 -- Made FileField.upload_to support pathlib.Path.Claude Paroz
2019-08-02Fixed #30661 -- Added models.SmallAutoField.Nick Pope
2019-07-25Fixed #30657 -- Allowed customizing Field's descriptors with a ↵Jon Dufresne
descriptor_class attribute. Allows model fields to override the descriptor class used on the model instance attribute.
2019-06-21Fixed #30421 -- Allowed symmetrical intermediate table for self-referential ↵Nadège Michel
ManyToManyField.
2019-06-04Fixed #30505 -- Doc'd how changes in the order of Field.choices affect ↵Caio Ariede
migrations.
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-02Fixed #29529 -- Allowed models.fields.FilePathField to accept a callable path.Mykola Kokalko
2019-02-25Fixed documentation of database representation for ManyToManyField.Mariusz Felisiak
2019-01-17Removed versionadded/changed annotations for 2.1.Tim Graham
2018-11-15Used auto-numbered lists in documentation.François Freitag
2018-10-10Emphasized that ForeignKey.on_delete doesn't create a SQL constraint.Andrea Rabbaglietti
2018-10-01Added tests for using bytearray with BinaryField and corrected docs.Jon Dufresne
2018-09-26Added test of filtering on BinaryField and corrected docs.Jon Dufresne
2018-09-25Normalized spelling of "lowercase" and "lowercased".Jon Dufresne
2018-09-10Refs #20910 -- Replaced snippet directive with code-block.Curtis Maloney
2018-08-28Fixed typo in docs/ref/models/fields.txt.Matt Wiens
2018-08-16Fixed #29646 -- Doc'd the validators that each model and form field uses.Jeff
2018-07-18Added doc links for django.utils.html.escape().Claude Paroz
2018-07-09Fixed #29549 -- Doc'd that Field.choices are enforced by model validation.Tim Graham
2018-05-25Fixed #29423 -- Documented Field.value_from_object().Srinivas Reddy Thatiparthy
2018-05-18Fixed #29398 -- Doc'd that cascade deletion doesn't call delete() of related ↵Tim Graham
models.
2018-03-20Fixed #29227 -- Allowed BooleanField to be null=True.Tim Graham
Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review.
2017-12-22Fixed #28937 -- Allowed BinaryField to be editable=True.Cameron Curry
2017-09-22Removed versionadded/changed annotations for 1.11.Tim Graham
2017-09-01Fixed #28557 -- Fixed ForeignKey/OneToOneField/ManyToManyField argument name ↵Tim Graham
in docs.
2017-08-07Fixed #28466 -- Clarified the definition of a lazy relationship.Tim Graham
2017-07-20Fixed #28370 -- Deprecated the context arg of Field.from_db_value() and ↵Tim Graham
Expression.convert_value(). Unused since a0d166306fbdc41f49e6fadf4ec84b17eb147daa.
2017-04-25Removed nonexistent methods from File's docs.Josh Schneier
read() and write() were removed in 68a890e79f660484d05482902663b6168f0bd71e.
2017-04-10Fixed #27947 -- Doc'd that model Field.error_messages often don't propagate ↵Taavi Teska
to forms.