summaryrefslogtreecommitdiff
path: root/docs/ref/models/fields.txt
AgeCommit message (Collapse)Author
2021-01-07Fixed #32315 -- Doc'd FieldFile.path.Hasan Ramezani
2021-01-04Fixed #32310 -- Fixed note about reverse accessors for intermediate table ↵Fabio Sangiovanni
for self-referential ManyToManyField.
2020-12-30Fixed #32303 -- Bumped minimum supported SQLite to 3.9.0.Mariusz Felisiak
2020-12-15Fixed #31007 -- Allowed specifying type of auto-created primary keys.Tom Forbes
This also changes the default type of auto-created primary keys for new apps and projects to BigAutoField.
2020-09-21Fixed #31777 -- Added support for database collations to Char/TextFields.Tom Carrick
Thanks Simon Charette and Mariusz Felisiak for reviews.
2020-07-22Doc'd Model.MultipleObjectsReturned docs and improved documentation related ↵Adam Johnson
with models exceptions.
2020-07-17Improved ManyToManyField.through docs.Adam Johnson
2020-05-13Removed versionadded/changed annotations for 3.0.Mariusz Felisiak
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