summaryrefslogtreecommitdiff
path: root/docs/ref/models/fields.txt
AgeCommit message (Collapse)Author
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).
2015-01-17Removed support for custom SQL per deprecation timeline.Tim Graham
2015-01-08Fixed #24020 -- Refactored SQL compiler to use expressionsAnssi Kääriäinen
Refactored compiler SELECT, GROUP BY and ORDER BY generation. While there, also refactored select_related() implementation (get_cached_row() and get_klass_info() are now gone!). Made get_db_converters() method work on expressions instead of internal_type. This allows the backend converters to target specific expressions if need be. Added query.context, this can be used to set per-query state. Also changed the signature of database converters. They now accept context as an argument.
2015-01-06Fixed #12663 -- Formalized the Model._meta API for retrieving fields.Daniel Pyrathon
Thanks to Russell Keith-Magee for mentoring this Google Summer of Code 2014 project and everyone else who helped with the patch!
2014-12-24Fixed #24041 -- Documented effect of changing a model instance's primary key.Helen Sherwood-Taylor
2014-12-23Fixed #24033 -- Use interval type on Oracle.Marc Tamlyn
Use INTERVAL DAY(9) TO SECOND(6) for Durationfield on Oracle rather than storing as a NUMBER(19) of microseconds. There are issues with cx_Oracle which require some extra data manipulation in the database backend when constructing queries, but it handles the conversion back to timedelta objects cleanly. Thanks to Shai for the review.
2014-12-20Fixed #2443 -- Added DurationField.Marc Tamlyn
A field for storing periods of time - modeled in Python by timedelta. It is stored in the native interval data type on PostgreSQL and as a bigint of microseconds on other backends. Also includes significant changes to the internals of time related maths in expressions, including the removal of DateModifierNode. Thanks to Tim and Josh in particular for reviews.
2014-12-08Fixed #23974 -- Clarified wording of FileField.save/delete save parameter.Tim Graham
Thanks GreenAsJade.
2014-12-06Fixed #23965 -- Mentioned that FieldFile inherits from FileTim Graham
2014-10-30Fixed #23725 -- Substituted AUTH_USER_MODEL for User in docs.Raul Cumplido
2014-10-18Fixed #23676 -- Rearranged sentence; "by default" applies only to max lengthJon Dufresne