summaryrefslogtreecommitdiff
path: root/docs/ref/models/fields.txt
AgeCommit message (Collapse)Author
2025-03-04[5.1.x] Fixed #36128 -- Clarified auto-generated unique constraint on m2m ↵Clifford Gama
through models. Backport of ae2736ca3bf4c6a27e23ee95530ad965b550d4cc from main.
2025-02-20[5.1.x] Clarified admonition in GeneratedField docs.Adam Zapletal
Backport of 43766c70bd2939771b7f37104866316faa34606b from main.
2025-01-24[5.1.x] Fixed ambiguous pronoun reference in docs/ref/models/fields.txt.Clifford Gama
Backport of 9cc3970eaaf603832c075618e61aea9ea430f719 from main.
2024-10-29[5.1.x] Corrected note on importing fields in model field reference docs.aruseni
Backport of d7f78eb5d6c9250789fb3975b01e2a71d0e39577 from main.
2024-10-29[5.1.x] Fixed typo in ref/models/fields.txt.Clifford Gama
Backport of 799c3778186167eca3ed43f0e480738a607381de from main.
2024-10-23[5.1.x] Fixed #35731 -- Extended db_default docs.Yash
This added a missing db_default reference in docs/topics/db/models.txt, and added a reference to the DatabaseDefault object. Backport of 35ab2e018214479fa712d73f070198299ef670a1 from main.
2024-10-17[5.1.x] Fixed #26322 -- Consolidated lazy relationships details in ↵Clifford Gama
docs/ref/models/fields.txt. Reorganized docs to list and explain the types of lazy relationships that can be defined in related fields. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> Backport of 65f3cfce59395131f318cf1ecba144530ed6609e from main.
2024-08-05[5.1.x] Used :pypi: role in docs where appropriate.Mariusz Felisiak
Backport of 304d25667433a59409e334a93acaaa9201840508 from main.
2024-06-14[5.1.x] Fixed #24076 -- Added warnings on usage of dates with DateTimeField ↵Adam Zapletal
and datetimes with DateField. Backport of 99273fd525129a973639044dfb12cfd732d8f1d6 from main.
2024-05-02Clarified when ImageField attributes are set.John Parton
2024-02-17Fixed #28011 -- Corrected Field.hidden docs.Adam Johnson
2023-11-14Fixed #34944 -- Made GeneratedField.output_field required.Mariusz Felisiak
Regression in f333e3513e8bdf5ffeb6eeb63021c230082e6f95.
2023-11-09Fixed typos in docs/ref/models/fields.txt.Jacob Walls
2023-09-18Removed versionadded/changed annotations for 4.2.Mariusz Felisiak
This also removes remaining versionadded/changed annotations for older versions.
2023-09-14Fixed #24561 -- Added support for callables on model fields' choices.Natalia
2023-09-07Fixed #31300 -- Added GeneratedField model field.Jeremy Nauta
Thanks Adam Johnson and Paolo Melchiorre for reviews. Co-Authored-By: Lily Foote <code@lilyf.org> Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2023-08-30 Fixed #31262 -- Added support for mappings on model fields and ↵Nick Pope
ChoiceField's choices.
2023-08-25Refs #33507 -- Doc'd using UUID data type on MariaDB 10.7+ in UUIDField docs.Mariusz Felisiak
Follow up to 7cd187a5ba58d7769039f487faeb9a5a2ff05540.
2023-06-23Improved style of n-tuple wording in docs and comments.Nick Pope
2023-05-17Updated broken links in docs.Mariusz Felisiak
2023-05-12Fixed #470 -- Added support for database defaults on fields.Ian Foote
Special thanks to Hannes Ljungberg for finding multiple implementation gaps. Thanks also to Simon Charette, Adam Johnson, and Mariusz Felisiak for reviews.
2023-04-19Fixed #34435 -- Doc'd that JSONField.default must be a callable.Sage Abdullah
2023-03-21Fixed #34388 -- Allowed using choice enumeration types directly on model and ↵T. Franzel
form fields.
2023-03-01Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.django-bot
2023-02-24Doc'd that Meta.indexes is preferred to Field.db_index.Adam Johnson
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.
2023-01-20Fixed #34242 -- Doc'd that primary key is set to None when deleting objects.noFFENSE
2022-12-28Fixed #14094 -- Added support for unlimited CharField on PostgreSQL.Adrian Torres
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
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-10-01Clarified how to reference RelatedObjectDoesNotExist exceptions.David Sanders
2022-09-04Corrected heading level of "Registering and fetching lookups" section in docs.Mariusz Felisiak
2022-09-02Fixed #29799 -- Allowed registering lookups per field instances.Allen Jonathan David
Thanks Simon Charette and Mariusz Felisiak for reviews and mentoring this Google Summer of Code 2022 project.
2022-08-02Doc'd TextField.db_collation as optional.Carlton Gibson
Matches CharField.db_collation docs. Thanks to Paolo Melchiorre for the report.
2022-07-08Fixed #33718 -- Dropped support for MySQL 5.7.Mariusz Felisiak
2022-05-31Fixed 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.
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