summaryrefslogtreecommitdiff
path: root/docs/ref/models/fields.txt
AgeCommit message (Collapse)Author
2017-03-20[1.11.x] Removed extra characters in docs header underlines.Mariusz Felisiak
Backport of a3af8c99d94638e0d1fc8a847b74aa6953441d55 from master
2017-01-25[1.11.x] Bumped MySQLdb version requirement to 1.2.3.Tim Graham
Older versions don't support Python 2.7. Partial backport of 2d96c027f5eb32c2c09bd57df2240ae1d343b98e from master
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.
2016-04-28Fixed #26554 -- Updated docs URLs to readthedocs.ioTim Graham
2016-03-12Fixed #26239 -- Added a note about how auto_now works with QuerySet.update().Duane Hilton
2016-03-02Fixed #26285 -- Deprecated the MySQL-specific __search lookup.Marc Tamlyn
2016-02-29Fixed #26186 -- Documented how app relative relationships of abstract models ↵Simon Charette
behave. This partially reverts commit bc7d201bdbaeac14a49f51a9ef292d6312b4c45e. Thanks Tim for the review. Refs #25858.
2016-02-27Fixed #26230 -- Made default_related_name affect related_query_name.chenesan
2016-02-21Fixed #26238 -- Raised explicit error for non-editable field in ModelFormClaude Paroz
Thanks Luke Crouch for the report and Simon Charette for the review.
2016-02-10Fixed #26154 -- Deprecated CommaSeparatedIntegerFieldBrobin
2016-02-01Unified some doc links to OneToOneField and ManyToManyField.Tim Graham
2016-02-01Fixed #26124 -- Added missing code formatting to docs headers.rowanv
2016-01-28Fixed #25354 -- Added class/app_label interpolation for related_query_name.James Pulec
2015-12-25Fixed #14286 -- Added models.BigAutoField.Alexander Sosnovskiy
2015-12-24Discouraged use of /tmp with predictable names.Chris Lamb
The use of predictable filenames in /tmp often leads to symlink attacks so remove the most obvious use of them in the docs.
2015-12-04Fixed #13774 -- Added models.Field.rel_db_type().Alexander Sosnovskiy
2015-12-01Fixed #25778 -- Updated docs links to use https when available.Jon Dufresne
2015-11-24Clarified default value for DateField to emulate auto_now_add.Bulgantamir Gankhuyag
2015-11-19Corrected GenericIPAddressField protocol parameter doc.areski
2015-09-23Removed versionadded/changed annotations for 1.8.Tim Graham
2015-08-10Fixed #25160 -- Moved unsaved model instance data loss check to Model.save()Tim Graham
This mostly reverts 5643a3b51be338196d0b292d5626ad43648448d3 and 81e1a35c364e5353d2bf99368ad30a4184fbb653. Thanks Carl Meyer for review.
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella
ForeignKey/OneToOneField
2015-07-27Fixed #25159 -- Removed brackets from class/function/method signatures in docs.Tim Graham
Thanks hellbeast for the initial patch.
2015-07-21Fixed #25129 -- Made model instance defaults work with migrations (refs #24919).Tim Graham
2015-07-17Fixed #16501 -- Added an allow_unicode parameter to SlugField.Edward Henderson
Thanks Flavio Curella and Berker Peksag for the initial patch.
2015-06-09Clarified the default form widgets for model number fields in docsMatt Deacalion Stevens
2015-06-05Fixed #22571 -- Added clarification about auto_now_add=TrueYamila Moreno
2015-04-29Fixed #24665 -- Clarified model field flag defaults.Tim Graham
2015-03-29Improved docs for timezone handling for auto_now and auto_now_addChristopher Luc
Thanks djbug for the report and Aymeric Augustin and Carl Meyer for the review.
2015-03-26Fixed #24510 -- Clarified FileField.upload_to docs.Matt Seymour
2015-03-25Fixed #23814 -- Documented apps refactored out of Django.Fabio Natali
2015-03-22Fixed #23814 -- Pointed localflavor documentation to external packageIacopo Spalletti
Edited localflavor doc to point to the external package documentation, leaving just the 'How to migrate' section in Django.
2015-03-18Fixed #24495 -- Allowed unsaved model instance assignment check to be bypassed.Karl Hobley
2015-03-12Fixed typo in docs/ref/models/fields.txtSteven Das
2015-03-09Fixed #24432 -- Added docs for ManyToManyFields that reside in and refer to ↵Floris den Hengst
the same model.
2015-02-20Update converters to take a consistent set of parameters.Marc Tamlyn
As suggested by Anssi. This has the slightly strange side effect of passing the expression to Expression.convert_value has the expression passed back to it, but it allows more complex patterns of expressions.
2015-02-14Fixed #24289 -- Reversed usage of Field.many_to_one and one_to_many.Loic Bistuer
Thanks Carl Meyer and Tim Graham for the reviews and to all involved in the discussion.
2015-02-03Fixed #23617 -- Added get_pk_value_on_save()Anssi Kääriäinen
The method is mainly intended for use with UUIDField. For UUIDField we want to call the field's default even when primary key value is explicitly set to None to match the behavior of AutoField. Thanks to Marc Tamlyn and Tim Graham for review.
2015-02-01Removed versionadded/changed notes for 1.7.Tim Graham
2015-01-19Removed IPAddressField per deprecation timeline; refs #20439.Tim Graham
2015-01-18Removed support for syncing apps without migrations per deprecation timeline.Tim Graham
Kept support for creating models without migrations when running tests (especially for Django's test suite).