Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #25629 -- Added `arity` class attribute to `Func` ↵ | Sergey Fedoseev | 2015-11-02 | 3 | -10/+11 |
| | | | | expressions | ||||
* | Refs #25618 -- Removed detection of south migrations in ↵ | Tim Graham | 2015-10-28 | 1 | -15/+1 |
| | | | | | | | loader. It doesn't seem relevant for anyone upgrading to Django 1.10 and beyond. | ||||
* | Fixed #25609 -- Fixed regression in related field nested ↵ | Ian Foote | 2015-10-27 | 1 | -1/+4 |
| | | | | lookup error. | ||||
* | Revert "Fixed #25417 -- Added a field check for invalid ↵ | Simon Charette | 2015-10-27 | 1 | -17/+0 |
| | | | | | | default values." This reverts commit 71ebcb85b931f43865df5b322b2cf06d3da23f69. | ||||
* | Fixed #25550 -- Deprecated direct assignment to the ↵ | Tim Graham | 2015-10-27 | 2 | -1/+8 |
| | | | | reverse side of a related set. | ||||
* | Fixed #25611 -- Standardized descriptor signatures. | Tim Graham | 2015-10-26 | 5 | -11/+11 |
| | |||||
* | Fixed #25470 -- Avoided unnecessary, expensive DATETIME ↵ | Mariusz Felisiak | 2015-10-22 | 1 | -10/+8 |
| | | | | typecast on MySQL. | ||||
* | Moved an inner function in db.migrations.state to avoid ↵ | Simon Charette | 2015-10-20 | 1 | -20/+24 |
| | | | | redefinition. | ||||
* | Refs #18012 -- Accounted for reverse proxy relations in ↵ | Simon Charette | 2015-10-20 | 1 | -4/+12 |
| | | | | | | migrations. Thanks to Markus for the suggestion and Tim for the review. | ||||
* | Fixed #25563 -- Cached deferred models in their proxied ↵ | Simon Charette | 2015-10-20 | 1 | -4/+5 |
| | | | | | | model's _meta.apps. Thanks to Andriy Sokolovskiy for the report and Tim Graham for the review. | ||||
* | Fixed #25517 -- Made Concat function idempotent on SQLite. | Josh Smeaton | 2015-10-17 | 1 | -6/+9 |
| | |||||
* | Fixed #25560 -- Made empty string related_name invalid. | Simon Charette | 2015-10-16 | 2 | -2/+2 |
| | | | | | Thanks to Ali Lotfi for the initial report and patch and Tim Graham for the review. | ||||
* | Fixed #25506 -- Allowed filtering over a RawSQL annotation. | Antoine Catton | 2015-10-14 | 1 | -1/+1 |
| | | | | Co-Authored-By: Gavin Wahl <gwahl@fusionbox.com> | ||||
* | Refs #25535 -- Minor edits to ForeignObject check changes. | Tim Graham | 2015-10-14 | 1 | -5/+5 |
| | |||||
* | Fixed #25535 -- Made ForeignObject checks less strict. | Antoine Catton | 2015-10-13 | 1 | -6/+19 |
| | | | | | Check that the foreign object `from_fields` are a subset of any unique constraints on the foreign model. | ||||
* | Refs #18012 -- Removed the now unused proxied_children ↵ | Simon Charette | 2015-10-12 | 2 | -2/+0 |
| | | | | | | model option. Thanks to Tim for the review. | ||||
* | Refs #18012 -- Made proxy and concrete model reverse ↵ | Simon Charette | 2015-10-12 | 2 | -11/+5 |
| | | | | | | | fields consistent. Prior to this change proxy models reverse fields didn't include the reverse fields pointing to their concrete model. | ||||
* | Fixed #23076, #25505 -- Fixed deletion of intermediate ↵ | Simon Charette | 2015-10-12 | 1 | -1/+1 |
| | | | | | | proxy models. Thanks to James Murty for his work on an alternate patch. | ||||
* | Refs #18012 -- Removed special casing for proxy models ↵ | Simon Charette | 2015-10-12 | 1 | -10/+1 |
| | | | | | | | deletion. This isn't required anymore now that reverse foreign keys from proxy models are propagated to their concrete model. | ||||
* | Fixed #18012 -- Propagated reverse foreign keys from ↵ | Simon Charette | 2015-10-12 | 3 | -5/+12 |
| | | | | | | proxy to concrete models. Thanks to Anssi for the review. | ||||
* | Fixed #24687 -- Added select_related() validation for ↵ | Tim Graham | 2015-10-10 | 1 | -1/+1 |
| | | | | | | | | | | nested non-relational fields. The removed test was added in the original select_related() validation patch (45d4e43d2d25b902e3821b612209afa951a8bcb8), but there doesn't seem to be any reason for it. Thanks Claude Paroz for help and review. | ||||
* | Fixed #22705 -- Fixed QuerySet.bulk_create() on models ↵ | Tim Graham | 2015-10-09 | 1 | -0/+3 |
| | | | | | | | | without any fields on Oracle. Fixed on other backends by 134ca4d438bd7cbe8f0f287a00d545f96fa04a01. Thanks Mariusz Felisiak for the solution. | ||||
* | Fixed #14368 -- Allowed setting a reverse OneToOne ↵ | Tim Graham | 2015-10-09 | 1 | -18/+28 |
| | | | | relation to None. | ||||
* | Fixed #25503 -- Fixed system check crash on ForeignKey ↵ | Mariusz Felisiak | 2015-10-07 | 1 | -1/+4 |
| | | | | to abstract model. | ||||
* | Fixed #25508 -- Modified QuerySet.__repr__() to ↵ | Tim Graham | 2015-10-06 | 1 | -1/+1 |
| | | | | disambiguate it from a list. | ||||
* | Refs #12118 -- Allowed "mode=memory" in SQLite test ↵ | Riccardo Magliocchetti | 2015-10-06 | 1 | -3/+5 |
| | | | | database names. | ||||
* | Removed obsolete (since Python 2.3) ↵ | Tim Graham | 2015-10-05 | 1 | -5/+0 |
| | | | | __safe_for_unpickling__ attribute. | ||||
* | Fixed #21042 -- Allowed accessing FileDescriptor on the ↵ | Tim Graham | 2015-10-01 | 1 | -3/+1 |
| | | | | | | | model class. This is consistent with ability to reference other descriptors on the model class (5ef0c03ae9aca99289737ba6d88a371ad95cf432). | ||||
* | Fixed #25421 -- Fixed test --keepdb option on Oracle. | Mariusz Felisiak | 2015-09-27 | 1 | -17/+35 |
| | |||||
* | Fixed #25196 -- Normalized database representations in ↵ | Ville Skyttä | 2015-09-25 | 5 | -22/+38 |
| | | | | | | test database messages. Left over Oracle mostly as-is since it's more complicated. | ||||
* | Removed unused Aggregate.input_field. | Tim Graham | 2015-09-24 | 1 | -4/+0 |
| | | | | Obsolete since 4a66a69239c493c05b322815b18c605cd4c96e7c. | ||||
* | Refs #14030 -- Removed more backwards compatiblity for ↵ | Tim Graham | 2015-09-24 | 1 | -32/+0 |
| | | | | | | old-style aggregates. Per deprecation timeline. | ||||
* | Refs #21414 -- Removed Field.related per deprecation ↵ | Tim Graham | 2015-09-24 | 1 | -10/+1 |
| | | | | timeline. | ||||
* | Refs #14030 -- Removed backwards compatiblity for ↵ | Tim Graham | 2015-09-24 | 2 | -189/+0 |
| | | | | | | old-style aggregates. Per deprecation timeline. | ||||
* | Refs #9893 -- Removed shims for lack of max_length ↵ | Tim Graham | 2015-09-24 | 1 | -15/+1 |
| | | | | support in file storage per deprecation timeline. | ||||
* | Removed SQLCompiler.__call__() per deprecation timeline. | Tim Graham | 2015-09-24 | 1 | -13/+0 |
| | |||||
* | Refs #12663 -- Removed deprecated Model._meta methods. | Tim Graham | 2015-09-24 | 1 | -156/+3 |
| | |||||
* | Removed SubfieldBase per deprecation timeline. | Tim Graham | 2015-09-24 | 2 | -64/+0 |
| | |||||
* | Refs #24351 -- Removed support for the old ↵ | Tim Graham | 2015-09-24 | 1 | -23/+1 |
| | | | | allow_migrate() signature per deprecation timeline. | ||||
* | Fixed #25453 -- Reworded makemigration's ↵ | Benjamin Wohlwend | 2015-09-23 | 1 | -2/+2 |
| | | | | ask_not_null_alteration suggestion. | ||||
* | Fixed #24509 -- Added Expression support to ↵ | Alex Hill | 2015-09-22 | 9 | -53/+157 |
| | | | | SQLInsertCompiler | ||||
* | Fixed #24921 -- set_autocommit(False) + ORM queries. | Aymeric Augustin | 2015-09-21 | 1 | -7/+0 |
| | | | | | | | | | | | | | This commits lifts the restriction that the outermost atomic block must be declared with savepoint=False. This restriction was overly cautious. The logic that makes it safe not to create savepoints for inner blocks also applies to the outermost block when autocommit is disabled and a transaction is already active. This makes it possible to use the ORM after set_autocommit(False). Previously it didn't work because ORM write operations are protected with atomic(savepoint=False). | ||||
* | Documented "rel objects". | Aymeric Augustin | 2015-09-21 | 1 | -0/+11 |
| | | | | | Kept the docstring short because these objects aren't very well defined and they're in the crosshairs of several refactorings. | ||||
* | Renamed descriptor classes for related objects. | Aymeric Augustin | 2015-09-21 | 2 | -36/+41 |
| | | | | | | | | | | | | The old names were downright confusing. Some seemed to mean the opposite of what the class actually did. The new names follow a consistent nomenclature: (Forward|Reverse)(ManyToOne|OneToOne|ManyToMany)Descriptor. I mentioned combinations that do not exist in the docstring in order to help people who would search for them in the code base. | ||||
* | Added comments in related instances descriptors. | Aymeric Augustin | 2015-09-21 | 1 | -6/+23 |
| | |||||
* | Documented related models descriptors. | Aymeric Augustin | 2015-09-21 | 1 | -14/+141 |
| | | | | | Changed the poll / choices example to a more obvious parent / children. I think that reduces the cognitive load. | ||||
* | Fixed #22341 -- Split django.db.models.fields.related. | Aymeric Augustin | 2015-09-21 | 3 | -1191/+1213 |
| | | | | | | | At 2800 lines it was the largest module in the django package. This commit brings it down to a more manageable 1620 lines. Very small changes were performed to uniformize import style. | ||||
* | Fixed #24629 -- Unified Transform and Expression APIs | Josh Smeaton | 2015-09-21 | 6 | -330/+309 |
| | |||||
* | Fixed #25296 -- Prevented model related object cache ↵ | Raphael Merx | 2015-09-20 | 1 | -0/+3 |
| | | | | pollution when create() fails due to an unsaved object. | ||||
* | Fixed #25160 (again) -- Moved data loss check on reverse ↵ | Aymeric Augustin | 2015-09-19 | 1 | -6/+0 |
| | | | | | | | | relations. Moved data loss check when assigning to a reverse one-to-one relation on an unsaved instance to Model.save(). This is exactly the same change as e4b813c but for reverse relations. |