| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-11-14 | [1.9.x] Fixed #25723 -- Made related field checks lookup against their local ↵ | Simon Charette | |
| apps. Backport of c550beb0ccc8855fde7ff50ada530f7ceff1a595 from master | |||
| 2015-10-27 | [1.9.x] Revert "Fixed #25417 -- Added a field check for invalid default values." | Simon Charette | |
| This reverts commit 71ebcb85b931f43865df5b322b2cf06d3da23f69. Backport of 976bd519a879b2fd7a356cb21bde32696adb545f from master | |||
| 2015-10-19 | [1.9.x] Fixed #25560 -- Made empty string related_name invalid. | Simon Charette | |
| Thanks to Ali Lotfi for the initial report and patch and Tim Graham for the review. Backport of c1b6a8a98b08fedfa3f3c69bc7add94c5841ba57 from master | |||
| 2015-10-14 | [1.9.x] Fixed #25535 -- Made ForeignObject checks less strict. | Antoine Catton | |
| Check that the foreign object `from_fields` are a subset of any unique constraints on the foreign model. Backport of 80dac8c33e7f6f22577e4346f44e4c5ee89b648c and c7aff31397a7228f6ac2e33c10ebdf36c4b7a9b7 from master | |||
| 2015-10-09 | [1.9.x] Fixed #14368 -- Allowed setting a reverse OneToOne relation to None. | Tim Graham | |
| Backport of 384ddbec1b73a4636f234da3894fde8f8420bb63 from master | |||
| 2015-10-06 | [1.9.x] Fixed #25503 -- Fixed system check crash on ForeignKey to abstract ↵ | Mariusz Felisiak | |
| model. Backport of 914167abf19d16ac97c0f1f6ae1b08cb377c8f3a from master | |||
| 2015-09-21 | Documented "rel objects". | Aymeric Augustin | |
| Kept the docstring short because these objects aren't very well defined and they're in the crosshairs of several refactorings. | |||
| 2015-09-21 | Renamed descriptor classes for related objects. | Aymeric Augustin | |
| 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. | |||
| 2015-09-21 | Added comments in related instances descriptors. | Aymeric Augustin | |
| 2015-09-21 | Documented related models descriptors. | Aymeric Augustin | |
| Changed the poll / choices example to a more obvious parent / children. I think that reduces the cognitive load. | |||
| 2015-09-21 | Fixed #22341 -- Split django.db.models.fields.related. | Aymeric Augustin | |
| 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. | |||
| 2015-09-21 | Fixed #24629 -- Unified Transform and Expression APIs | Josh Smeaton | |
| 2015-09-19 | Fixed #25160 (again) -- Moved data loss check on reverse relations. | Aymeric Augustin | |
| 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. | |||
| 2015-09-18 | Fixed #25417 -- Added a field check for invalid default values. | Simon Charette | |
| 2015-09-18 | Fixed #24636 -- Added model field validation for decimal places and max digits. | Iulia Chiriac | |
| 2015-09-12 | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | |
| 2015-09-01 | Removed obsolete TODO about moving CommaSeparatedIntegerField into contrib. | Tim Graham | |
| 2015-09-01 | Fixed #25320 -- Reverted ManyToManyField.null to False for backwards ↵ | Tim Graham | |
| compatibility. Thanks Tom Christie for the report and review. | |||
| 2015-08-31 | Fixed #25331 -- Removed trailing blank lines in docstrings. | Maxime Lorant | |
| 2015-08-27 | Fixed #24201 -- Added order_with_respect_to support to GenericForeignKey. | Alex Hill | |
| 2015-08-27 | Fixed #24590 -- Cached calls to swappable_setting. | Markus Holtermann | |
| Moved the lookup in Field.swappable_setting to Apps, and added an lru_cache to cache the results. Refs #24743 Thanks Marten Kenbeek for the initial work on the patch. Thanks Aymeric Augustin and Tim Graham for the review. | |||
| 2015-08-12 | Fixed #25172 -- Fixed check framework to work with multiple databases. | Ion Scerbatiuc | |
| 2015-08-10 | Fixed #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-08-03 | Removed unused Field.get_flatchoices() method. | Tim Graham | |
| Unused since c2ba59fc1da5287d6286e2c2aca4083d5bafe056 (Django 1.0). Thanks Andy Baker for the report. | |||
| 2015-07-28 | Fixed #18556 -- Allowed RelatedManager.add() to execute 1 query where possible. | Tim Graham | |
| Thanks Loic Bistuer for review. | |||
| 2015-07-27 | Fixed #21127 -- Started deprecation toward requiring on_delete for ↵ | Flavio Curella | |
| ForeignKey/OneToOneField | |||
| 2015-07-17 | Fixed #16501 -- Added an allow_unicode parameter to SlugField. | Edward Henderson | |
| Thanks Flavio Curella and Berker Peksag for the initial patch. | |||
| 2015-07-14 | Fixed #24716 -- Deprecated Field._get_val_from_obj() | Thomas Stephenson | |
| The method duplicates the functionality of Field.value_from_object() and has the additional downside of being a privately named public API method. | |||
| 2015-06-29 | Fixed #23791 -- Corrected object type check for pk__in=qs | Anssi Kääriäinen | |
| When the pk was a relation field, qs.filter(pk__in=qs) didn't work. In addition, fixed Restaurant.objects.filter(place=restaurant_instance), where place is an OneToOneField and the primary key of Restaurant. A big thank you to Josh for review and to Tim for review and cosmetic edits. Thanks to Beauhurst for commissioning the work on this ticket. | |||
| 2015-06-27 | Sorted imports in __init__.py files. | Tim Graham | |
| 2015-06-26 | Fixed #25016 -- Reallowed non-ASCII values for ForeignKey.related_name on ↵ | 薛丞宏 | |
| Python 3. | |||
| 2015-06-24 | Renamed RemovedInDjangoXYWarnings for new roadmap. | Tim Graham | |
| Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more. | |||
| 2015-06-15 | Fixed #24979 -- Removed usage of inspect.getargspec(). | Tim Graham | |
| 2015-06-15 | Removed django.utils.functional.total_ordering() | Tim Graham | |
| 2015-06-15 | Fixed #24912 -- Fixed prefetch_related failure for UUIDField primary keys | Brian King | |
| This resolves a problem on databases besides PostgreSQL when using prefetch_related with a source model that uses a UUID primary key. | |||
| 2015-06-06 | Fixed #24859 -- Made QuerySet.get() with UUIDField raise TypeError on bad value. | Cole Maclean | |
| For consistency with AutoField. | |||
| 2015-06-04 | Fixed #22316 -- Added time filters to TimeField on SQLite. | Matthew Somerville | |
| This was implemented for non-SQLite backends in 1.7 (as a side effect of #16187). | |||
| 2015-06-04 | Fixed #24677 -- Made TextField.to_python() return a string. | Rolo | |
| This is consistent with CharField. | |||
| 2015-06-02 | Fixed #24831 -- Fixed pickling queryset with prefetch_related() after ↵ | Andriy Sokolovskiy | |
| deleting objects. | |||
| 2015-06-02 | Fixed #9596 -- Added date transform for DateTimeField. | Jon Dufresne | |
| 2015-05-19 | Fixed #24818 -- Prevented models.CharField from accepting a string as max_length | Alasdair Nicol | |
| 2015-05-17 | Renamed value_to_db_xxx to adapt_xxxfield_value. | Aymeric Augustin | |
| This mirrors convert_xxxfield_value nicely, taking advantage of the adapter/converter terminology which is commonly used by DB-API modules. | |||
| 2015-05-13 | Removed unnecessary arguments in .get method calls | Piotr Jakimiak | |
| 2015-05-12 | Fixed #24105 -- Called Storage.get_valid_name() when upload_to is callable | Abhaya Agarwal | |
| 2015-05-12 | Fixed #24156 -- Fixed inherited related name of ManyToManyField. | Andriy Sokolovskiy | |
| Fixed situation when parent abstract model declares related_name='+', and child models had an invalid queryset. | |||
| 2015-05-11 | Removed redundant removal of hyphens in UUIDField. | Matt Robenolt | |
| 2015-05-06 | Fixed #24708 -- Handled non-string values in GenericIPAddressField.to_python() | Pradeek | |
| 2015-04-20 | Fixed #22394 -- Refactored built-in datetime lookups to transforms. | Jon Dufresne | |
| 2015-03-26 | Fixed #24505 -- Fixed clash with hidden m2m fields. | Marco Fucci | |
| Added support for multiple m2m fields with the same 'to' model and with related_name set to '+'. | |||
| 2015-03-25 | Fixed #24215 -- Refactored lazy model operations | Alex Hill | |
| This adds a new method, Apps.lazy_model_operation(), and a helper function, lazy_related_operation(), which together supersede add_lazy_relation() and make lazy model operations the responsibility of the App registry. This system no longer uses the class_prepared signal. | |||
