summaryrefslogtreecommitdiff
path: root/docs/ref/models/fields.txt
AgeCommit message (Collapse)Author
2022-08-02[4.1.x] Doc'd TextField.db_collation as optional.Carlton Gibson
Matches CharField.db_collation docs. Thanks to Paolo Melchiorre for the report. Backport of 5028a02352cb1fe3e64d63a614912ef694838862 from main
2022-06-27[4.1.x] Fixed docs build with sphinxcontrib-spelling 7.5.0+.Mariusz Felisiak
sphinxcontrib-spelling 7.5.0+ includes captions of figures in the set of nodes for which the text is checked. Backport of ac90529cc58507d9a07610809a795ec5fc3cbf8c from main
2022-03-28Corrected models.FileField signature in docs.Sih Sîng-hông薛丞宏
2022-03-10Changed some words to use inline markup.David Smith
2021-12-28Avoided counting attributes and methods in docs.Mariusz Felisiak
2021-12-13Corrected example in models.DecimalField docs.Beomsoo Kim
2021-12-02Fixed #33334 -- Alphabetized form and model fields in reference docs.Shivam Durgbuns
2021-10-18Fixed #33198 -- Corrected BinaryField.max_length docs.Nick Frazier
2021-10-05Fixed #22224 -- Added note about supplying missing values for non-nullable ↵Jacob Walls
fields with blank=True.
2021-09-22Fixed #33129 -- Dropped support for MariaDB 10.2.Mariusz Felisiak
2021-09-20Removed versionadded/changed annotations for 3.2.Mariusz Felisiak
2021-09-09Fixed #33084 -- Removed incorrect system check for ManyToManyField with ↵Hasan Ramezani
limit_choices_to.
2021-07-30Refs #32956 -- Updated words ending in -wards.David Smith
AP styleguide: Virtually none of the words ending with -wards end with an s.
2021-07-29Fixed 32956 -- Lowercased spelling of "web" and "web framework" where ↵David Smith
appropriate.
2021-05-12Fixed a typo in docs/ref/models/fields.txt.Nick Pope
datetime.date.utcnow() doesn't exist, should be .today().
2021-03-24Refs #32460 -- Doc'd and tested that property names of model choice enums ↵Nick Pope
cannot be used as members.
2021-01-14Refs #31369 -- Removed models.NullBooleanField per deprecation timeline.Mariusz Felisiak
2021-01-14Removed versionadded/changed annotations for 3.1.Mariusz Felisiak
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