Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/docs/ref/models
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed #22394 -- Refactored built-in datetime lookups to ↵Jon Dufresne2015-04-201-8/+55
| | | | transforms.
* Amended get_all_related_objects() backwards compatible ↵Neal Todd2015-04-201-2/+2
| | | | replacement.
* Removed DateTimeQuerySet from docs.Tim Graham2015-04-181-3/+3
| | | | Obsolete since refs #23867.
* Fixed #23879 -- Allowed model migration skip based on ↵Claude Paroz2015-04-181-0/+25
| | | | | | | feature/vendor Thanks Carl Meyer for the report and review, and Tim Graham for the review.
* Fixed typo in docs/ref/models/expressions.txtlampslave2015-04-071-1/+1
|
* Improved docs for timezone handling for auto_now and ↵Christopher Luc2015-03-291-0/+9
| | | | | | | auto_now_add Thanks djbug for the report and Aymeric Augustin and Carl Meyer for the review.
* Fixed #24510 -- Clarified FileField.upload_to docs.Matt Seymour2015-03-271-11/+33
|
* Fixed #23814 -- Documented apps refactored out of Django.Fabio Natali2015-03-251-3/+5
|
* Fixed #23814 -- Pointed localflavor documentation to ↵Iacopo Spalletti2015-03-221-4/+5
| | | | | | | external package Edited localflavor doc to point to the external package documentation, leaving just the 'How to migrate' section in Django.
* Fixed #24485 -- Allowed combined expressions to set ↵Josh Smeaton2015-03-221-11/+34
| | | | output_field
* Fixed #24495 -- Allowed unsaved model instance ↵Karl Hobley2015-03-191-1/+31
| | | | assignment check to be bypassed.
* Refs #24485 -- Renamed some expression typesJosh Smeaton2015-03-171-6/+6
|
* Fixed #15579 -- Added ability to delete only child ↵Andriy Sokolovskiy2015-03-171-1/+9
| | | | models in multi-table inheritance.
* Fixed #24486 -- Documented method to provide ↵Josh Smeaton2015-03-161-0/+11
| | | | output_field to mixed F expressions
* Refs #24462 -- Emphasized that order_by() clears ↵Tim Graham2015-03-131-0/+5
| | | | previous ordering.
* Fixed typo in docs/ref/models/fields.txtSteven Das2015-03-131-1/+1
|
* Fixed #24414 -- Added examples of Prefetch object usage ↵Sean Wang2015-03-111-3/+23
| | | | to the docs.
* Fixed #24432 -- Added docs for ManyToManyFields that ↵Floris den Hengst2015-03-101-1/+13
| | | | reside in and refer to the same model.
* Update converters to take a consistent set of parameters.Marc Tamlyn2015-02-202-2/+2
| | | | | | 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.
* Fixed #24289 -- Reversed usage of Field.many_to_one and ↵Loic Bistuer2015-02-132-15/+15
| | | | | | | one_to_many. Thanks Carl Meyer and Tim Graham for the reviews and to all involved in the discussion.
* Refs #14030 -- Improved expression support for python valuesJosh Smeaton2015-02-112-6/+10
|
* Disallowed importing concrete models without an application.Aymeric Augustin2015-02-101-3/+2
| | | | | | Removed fragile algorithm to find which application a model belongs to. Fixed #21680, #21719. Refs #21794.
* Fixed #6707 -- Added RelatedManager.set() and made ↵Loic Bistuer2015-02-051-7/+32
| | | | | | descriptors' __set__ use it. Thanks Anssi Kääriäinen, Carl Meyer, Collin Anderson, and Tim Graham for the reviews.
* Fixed typos of "select_related" in docs and tests.Josh Schneier2015-02-041-2/+2
|
* Fixed #23617 -- Added get_pk_value_on_save()Anssi Kääriäinen2015-02-031-0/+9
| | | | | | | | 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.
* Removed versionadded/changed notes for 1.7.Tim Graham2015-02-026-103/+12
|
* Fixed #24211 -- Removed ValuesQuerySet() and ↵Loic Bistuer2015-01-301-18/+11
| | | | | | ValuesListQuerySet(). Thanks Anssi Kääriäinen, Marc Tamlyn, and Tim Graham for the reviews.
* Fixed #24190 -- Clarified len(queryset)Collin Anderson2015-01-241-8/+11
|
* Removed IPAddressField per deprecation timeline; refs ↵Tim Graham2015-01-191-12/+0
| | | | #20439.
* Removed support for syncing apps without migrations per ↵Tim Graham2015-01-181-14/+1
| | | | | | | deprecation timeline. Kept support for creating models without migrations when running tests (especially for Django's test suite).
* Removed support for custom SQL per deprecation timeline.Tim Graham2015-01-171-2/+1
|
* Fixed #24031 -- Added CASE expressions to the ORM.Michał Modzelewski2015-01-133-0/+222
|
* Fixed #24060 -- Added OrderBy ExpressionsJosh Smeaton2015-01-122-8/+51
|
* Fixed #23878 -- Moved Query and Prefetch documentationNg Zhi An2015-01-123-52/+55
|
* Fixed #24020 -- Refactored SQL compiler to use expressionsAnssi Kääriäinen2015-01-082-2/+2
| | | | | | | | | | | | | | | 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.
* Fixed #12663 -- Formalized the Model._meta API for ↵Daniel Pyrathon2015-01-073-0/+380
| | | | | | | retrieving fields. Thanks to Russell Keith-Magee for mentoring this Google Summer of Code 2014 project and everyone else who helped with the patch!
* Fixed a vesionadded directive.Florian Apolloner2014-12-291-1/+1
|
* Fixed #23753 -- Added a suite of SQL FunctionsJosh Smeaton2014-12-273-0/+156
| | | | | | | | | Added functions and tests Added docs and more tests Added TextField converter to mysql backend Aliased Value as V in example docs and tests Removed unicode_compatible in example Fixed console emulation in examples
* Fixed #24041 -- Documented effect of changing a model ↵Helen Sherwood-Taylor2014-12-241-2/+7
| | | | instance's primary key.
* Fixed #24033 -- Use interval type on Oracle.Marc Tamlyn2014-12-231-1/+2
| | | | | | | | | | | 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.
* Fixed #2443 -- Added DurationField.Marc Tamlyn2014-12-201-0/+17
| | | | | | | | | | | 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.
* Used https for most *.python.org linksClaude Paroz2014-12-191-1/+1
|
* Fixed #23941 -- Removed implicit decimal formatting from ↵Josh Smeaton2014-12-121-3/+8
| | | | expressions.
* Fixed #23974 -- Clarified wording of ↵Tim Graham2014-12-081-4/+6
| | | | | | FileField.save/delete save parameter. Thanks GreenAsJade.
* Fixed #23968 -- Replaced list comprehension with ↵Jon Dufresne2014-12-081-3/+3
| | | | generators and dict comprehension
* Fixed #23965 -- Mentioned that FieldFile inherits from FileTim Graham2014-12-061-2/+3
|
* Fixed #901 -- Added Model.refresh_from_db() methodAnssi Kääriäinen2014-11-281-0/+67
| | | | | Thanks to github aliases dbrgn, carljm, slurms, dfunckt, and timgraham for reviews.
* Fixed #23865 -- documented how to assign errors to a ↵Alasdair Nicol2014-11-211-3/+17
| | | | | | | field in Model.clean() Also added a unit test wit the simpler syntax which we have documented, where the dictionary values are strings.
* Fixed #23817 -- Updated docs on QuerySet evaluationMichal Petrucha2014-11-201-6/+6
| | | | | Removed inaccurate info about partial evaluation after refs #18702. Added information on modifying sliced QuerySets; refs #22503.
* Renamed qn to compilerJosh Smeaton2014-11-161-19/+19
|