Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/django/db
Commit message (Collapse)AuthorAgeFilesLines
* Refs #25629 -- Added `arity` class attribute to `Func` ↵Sergey Fedoseev2015-11-023-10/+11
| | | | expressions
* Refs #25618 -- Removed detection of south migrations in ↵Tim Graham2015-10-281-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 Foote2015-10-271-1/+4
| | | | lookup error.
* Revert "Fixed #25417 -- Added a field check for invalid ↵Simon Charette2015-10-271-17/+0
| | | | | | default values." This reverts commit 71ebcb85b931f43865df5b322b2cf06d3da23f69.
* Fixed #25550 -- Deprecated direct assignment to the ↵Tim Graham2015-10-272-1/+8
| | | | reverse side of a related set.
* Fixed #25611 -- Standardized descriptor signatures.Tim Graham2015-10-265-11/+11
|
* Fixed #25470 -- Avoided unnecessary, expensive DATETIME ↵Mariusz Felisiak2015-10-221-10/+8
| | | | typecast on MySQL.
* Moved an inner function in db.migrations.state to avoid ↵Simon Charette2015-10-201-20/+24
| | | | redefinition.
* Refs #18012 -- Accounted for reverse proxy relations in ↵Simon Charette2015-10-201-4/+12
| | | | | | migrations. Thanks to Markus for the suggestion and Tim for the review.
* Fixed #25563 -- Cached deferred models in their proxied ↵Simon Charette2015-10-201-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 Smeaton2015-10-171-6/+9
|
* Fixed #25560 -- Made empty string related_name invalid.Simon Charette2015-10-162-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 Catton2015-10-141-1/+1
| | | | Co-Authored-By: Gavin Wahl <gwahl@fusionbox.com>
* Refs #25535 -- Minor edits to ForeignObject check changes.Tim Graham2015-10-141-5/+5
|
* Fixed #25535 -- Made ForeignObject checks less strict.Antoine Catton2015-10-131-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 Charette2015-10-122-2/+0
| | | | | | model option. Thanks to Tim for the review.
* Refs #18012 -- Made proxy and concrete model reverse ↵Simon Charette2015-10-122-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 Charette2015-10-121-1/+1
| | | | | | proxy models. Thanks to James Murty for his work on an alternate patch.
* Refs #18012 -- Removed special casing for proxy models ↵Simon Charette2015-10-121-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 Charette2015-10-123-5/+12
| | | | | | proxy to concrete models. Thanks to Anssi for the review.
* Fixed #24687 -- Added select_related() validation for ↵Tim Graham2015-10-101-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 Graham2015-10-091-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 Graham2015-10-091-18/+28
| | | | relation to None.
* Fixed #25503 -- Fixed system check crash on ForeignKey ↵Mariusz Felisiak2015-10-071-1/+4
| | | | to abstract model.
* Fixed #25508 -- Modified QuerySet.__repr__() to ↵Tim Graham2015-10-061-1/+1
| | | | disambiguate it from a list.
* Refs #12118 -- Allowed "mode=memory" in SQLite test ↵Riccardo Magliocchetti2015-10-061-3/+5
| | | | database names.
* Removed obsolete (since Python 2.3) ↵Tim Graham2015-10-051-5/+0
| | | | __safe_for_unpickling__ attribute.
* Fixed #21042 -- Allowed accessing FileDescriptor on the ↵Tim Graham2015-10-011-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 Felisiak2015-09-271-17/+35
|
* Fixed #25196 -- Normalized database representations in ↵Ville Skyttä2015-09-255-22/+38
| | | | | | test database messages. Left over Oracle mostly as-is since it's more complicated.
* Removed unused Aggregate.input_field.Tim Graham2015-09-241-4/+0
| | | | Obsolete since 4a66a69239c493c05b322815b18c605cd4c96e7c.
* Refs #14030 -- Removed more backwards compatiblity for ↵Tim Graham2015-09-241-32/+0
| | | | | | old-style aggregates. Per deprecation timeline.
* Refs #21414 -- Removed Field.related per deprecation ↵Tim Graham2015-09-241-10/+1
| | | | timeline.
* Refs #14030 -- Removed backwards compatiblity for ↵Tim Graham2015-09-242-189/+0
| | | | | | old-style aggregates. Per deprecation timeline.
* Refs #9893 -- Removed shims for lack of max_length ↵Tim Graham2015-09-241-15/+1
| | | | support in file storage per deprecation timeline.
* Removed SQLCompiler.__call__() per deprecation timeline.Tim Graham2015-09-241-13/+0
|
* Refs #12663 -- Removed deprecated Model._meta methods.Tim Graham2015-09-241-156/+3
|
* Removed SubfieldBase per deprecation timeline.Tim Graham2015-09-242-64/+0
|
* Refs #24351 -- Removed support for the old ↵Tim Graham2015-09-241-23/+1
| | | | allow_migrate() signature per deprecation timeline.
* Fixed #25453 -- Reworded makemigration's ↵Benjamin Wohlwend2015-09-231-2/+2
| | | | ask_not_null_alteration suggestion.
* Fixed #24509 -- Added Expression support to ↵Alex Hill2015-09-229-53/+157
| | | | SQLInsertCompiler
* Fixed #24921 -- set_autocommit(False) + ORM queries.Aymeric Augustin2015-09-211-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 Augustin2015-09-211-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 Augustin2015-09-212-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 Augustin2015-09-211-6/+23
|
* Documented related models descriptors.Aymeric Augustin2015-09-211-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 Augustin2015-09-213-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 APIsJosh Smeaton2015-09-216-330/+309
|
* Fixed #25296 -- Prevented model related object cache ↵Raphael Merx2015-09-201-0/+3
| | | | pollution when create() fails due to an unsaved object.
* Fixed #25160 (again) -- Moved data loss check on reverse ↵Aymeric Augustin2015-09-191-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.