summaryrefslogtreecommitdiff
path: root/docs/ref/models/fields.txt
AgeCommit message (Collapse)Author
2019-09-23[3.0.x] Refs #29915 -- Doc'd limitation of using pattern lookups with ↵Mariusz Felisiak
UUIDField on PostgreSQL. Backport of 343afa788080fb874bcd10eab1a1a2fede98c526 from master
2019-09-14[3.0.x] Fixed #29823 -- Doc'd limitation of DecimalField on SQLite.Claude Paroz
Backport of b8dff52f440adfb78b40e19ee8bff45373ca2501 from master
2019-09-13[3.0.x] Refs #27910 -- Improved documentation for model field choice ↵Nick Pope
enumeration types. Backport of 1c66767d4e472fea27798812817b8a47c6ae22b3 from master
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.
2017-03-20Removed extra characters in docs header underlines.Mariusz Felisiak
2017-01-25Refs #23919 -- Removed obsolete MySQLdb references.Tim Graham
2017-01-17Removed versionadded/changed annotations for 1.10.Tim Graham
2017-01-17Refs #26154 -- Removed deprecated CommaSeparatedIntegerField.Tim Graham
2017-01-17Refs #21127 -- Required on_delete for ForeignKey/OneToOneField.Tim Graham
Per deprecation timeline.
2016-11-21Fixed #27511 -- Corrected Field.related_model docs about GenericRelation.Tim Graham
2016-11-15Fixed #26985 -- Doc'd that ForeignKey.to_field reference must be unique.Jonatas CD
2016-10-28Fixed #27188 -- Allowed using unique=True with FileField.Michael Scott
Thanks Tim Graham for the initial patch.
2016-09-17Corrected docs for return type of Field.formfield().zhuanyenan
2016-08-15Made cosmetic edits to Field.default docs.Victor Oliveira da Silva
2016-06-13Fixed #4136 -- Made ModelForm save empty values for nullable CharFields as NULL.Jon Dufresne
Previously, empty values were saved as strings.
2016-06-03Fixed #26021 -- Applied hanging indentation to docs.Ed Henderson
2016-05-20Removed versionadded/changed annotations for 1.9.Tim Graham
2016-05-07Fixed #26508 -- Clarified docs for various FieldFile methods.Tobias McNulty
2016-05-04Fixed #22936 -- Obsoleted Field.get_prep_lookup()/get_db_prep_lookup()Claude Paroz
Thanks Tim Graham for completing the initial patch.