| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-05-31 | Fixed #26676 -- Prevented prefetching to_attr from caching its result in ↵ | Simon Charette | |
| through attr. Thanks Ursidours for the report. | |||
| 2016-05-28 | Refs #24227 -- Fixed crash of ManyToManyField.value_from_object() on unsaved ↵ | Tim Graham | |
| model instances. This behavior was removed in 67d984413c9540074e4fe6aa033081a35cf192bc but is needed to prevent a crash in formtools. | |||
| 2016-05-27 | Fixed #26642 -- Made ModelSignal.disconnect() work with lazy references. | Alex Hill | |
| 2016-05-19 | Fixed #26421 -- Refactored ModelSignal to use Apps.lazy_model_operation() | Alex Hill | |
| 2016-05-19 | Refs #26421 -- Refactored Apps.lazy_model_operation() for better checks and ↵ | Alex Hill | |
| tests | |||
| 2016-05-19 | Fixed some newlines in imports per isort. | Tim Graham | |
| 2016-05-19 | Fixed #26515 -- Fixed Query.trim_joins() for nested ForeignObjects. | darius BERNARD | |
| 2016-05-18 | Fixed #26620 -- Made Model.refresh_from_db() fail when passed unknown kwargs. | Marti Raudsepp | |
| 2016-05-18 | Fixed #25774 -- Refactor datetime expressions into public API | Josh Smeaton | |
| 2016-05-17 | Fixed #10506, #13793, #14891, #25201 -- Introduced new APIs to specify ↵ | Loïc Bistuer | |
| models' default and base managers. This deprecates use_for_related_fields. Old API: class CustomManager(models.Model): use_for_related_fields = True class Model(models.Model): custom_manager = CustomManager() New API: class Model(models.Model): custom_manager = CustomManager() class Meta: base_manager_name = 'custom_manager' Refs #20932, #25897. Thanks Carl Meyer for the guidance throughout this work. Thanks Tim Graham for writing the docs. | |||
| 2016-05-17 | Fixed #20932, #25897 -- Streamlined manager inheritance. | Loïc Bistuer | |
| 2016-05-16 | Fixed #24305 -- Allowed overriding fields on abstract models. | Aron Podrigal | |
| Fields inherited from abstract base classes may be overridden like any other Python attribute. Inheriting from multiple models/classes with the same attribute name will follow the MRO. | |||
| 2016-05-15 | Fixed #24100 -- Made the migration signals dispatch its plan and apps. | Simon Charette | |
| Thanks Markus for your contribution and Tim for your review. | |||
| 2016-05-14 | Removed redundant code in QuerySet._batched_insert(). | Tim Graham | |
| 2016-05-11 | Refs #24227 -- Removed ManyToManyField special casing in model_to_dict(). | Tim Graham | |
| 2016-05-04 | Fixed #22936 -- Obsoleted Field.get_prep_lookup()/get_db_prep_lookup() | Claude Paroz | |
| Thanks Tim Graham for completing the initial patch. | |||
| 2016-05-03 | Normalized "an SQL" spelling. | Ville Skyttä | |
| 2016-05-03 | Refs #26565 -- Errored nicely when using Prefetch with a values() queryset. | Simon Charette | |
| Thanks Maxime Lorant for the report and Anssi for the suggestion. | |||
| 2016-05-03 | Refs #16508 -- Made Model.__init__() aware of virtual fields. | Michal Petrucha | |
| It's no longer necessary for GenericForeignKey (and any other virtual fields) to intercept the field's values using the pre_init signal. | |||
| 2016-05-02 | Refs #22936 -- Moved more of Field.get_db_prep_lookup() to lookups. | Tim Graham | |
| 2016-04-30 | Fixed #26058 -- Delegated os.path bits of FileField's filename generation to ↵ | Cristiano | |
| the Storage. | |||
| 2016-04-29 | Fixed #26207 -- Replaced dynamic classes with non-data descriptors for ↵ | Anssi Kääriäinen | |
| deferred instance loading. | |||
| 2016-04-25 | Refs #22936 -- Removed unused code in Field.get_db_prep_lookup(). | Tim Graham | |
| 2016-04-25 | Removed unused Q.clone(). | Tim Graham | |
| Unused since afe0bb7b13bb8dc4370f32225238012c873b0ee3. | |||
| 2016-04-25 | Removed unused/untested Field.get_choices_default()/value_to_string() methods. | Tim Graham | |
| 2016-04-22 | Removed unused BaseExpression.refs_aggregate(). | Tim Graham | |
| Unused since afe0bb7b13bb8dc4370f32225238012c873b0ee3. | |||
| 2016-04-22 | Fixed #26320 -- Deprecated implicit OneToOnField parent_link. | Tim Graham | |
| 2016-04-22 | Removed unused ForeignObject.attnames/get_defaults(). | Tim Graham | |
| 2016-04-22 | Removed unused ForeignObjectRel.get_choices() limit_to_currently_related ↵ | Tim Graham | |
| argument. Unused since its introduction in dc334a2ba8dbf5134d65c97fea2785c3b2294ef5. | |||
| 2016-04-22 | Refs #3254 -- Added full text search to contrib.postgres. | Marc Tamlyn | |
| Adds a reasonably feature complete implementation of full text search using the built in PostgreSQL engine. It uses public APIs from Expression and Lookup. With thanks to Tim Graham, Simon Charettes, Josh Smeaton, Mikey Ariel and many others for their advice and review. Particular thanks also go to the supporters of the contrib.postgres kickstarter. | |||
| 2016-04-22 | Fixed #26528 -- Allowed any iterable (e.g. tuple) as validators kwarg for ↵ | Loïc Bistuer | |
| form/model fields. | |||
| 2016-04-13 | Fixed #26486 -- Fixed a select_related() + defer() MTI edge case. | Tim Graham | |
| 2016-04-13 | Refs #16508 -- Renamed the current "virtual" fields to "private". | Michal Petrucha | |
| The only reason why GenericForeignKey and GenericRelation are stored separately inside _meta is that they need to be cloned for every model subclass, but that's not true for any other virtual field. Actually, it's only true for GenericRelation. | |||
| 2016-04-12 | Refs #22936 -- Moved IntegerField.get_prep_lookup() logic to lookups. | Tim Graham | |
| 2016-04-08 | Fixed E128 flake8 warnings in django/. | Tim Graham | |
| 2016-04-05 | Fixed #26458 -- Based Avg's default output_field resolution on its source ↵ | Simon Charette | |
| field type. Thanks Tim for the review and Josh for the input. | |||
| 2016-04-04 | Fixed W503 flake8 warnings. | Tim Graham | |
| 2016-04-03 | Fixed #26441 -- Added model Field.db_check() method | Markus Holtermann | |
| Thanks Common Code for financing the work on this commit. | |||
| 2016-03-30 | Fixed #11560 -- Allowed proxy model multiple-inheritance from the same ↵ | Akshesh | |
| concrete base model. | |||
| 2016-03-29 | Fixed #24932 -- Added Cast database function. | Claude Paroz | |
| Thanks Ian Foote for the initial patch. | |||
| 2016-03-29 | Fixed #25759 -- Added keyword arguments to customize Expressions' as_sql(). | Kai Feldhoff | |
| 2016-03-28 | Fixed #26413 -- Fixed a regression with abstract model inheritance and ↵ | Simon Charette | |
| explicit parent links. Thanks Trac alias trkjgrdg for the report and Tim for investigation and review. | |||
| 2016-03-28 | Sorted single letter imports per the latest version of isort. | Tim Graham | |
| 2016-03-28 | Avoided need to import model fields in models/functions.py. | Claude Paroz | |
| 2016-03-28 | Normalized Func.as_sqlite() signature. | Tim Graham | |
| 2016-03-23 | Fixed #26398 -- Made FieldFile.open() respect its mode argument. | Alexey Kotlyarov | |
| 2016-03-21 | Refs #25759 -- Fixed some Funcs to work if different database backends are used. | Kai Feldhoff | |
| 2016-03-19 | Fixed #26373 -- Fixed reverse lookup crash with a ForeignKey to_field in a ↵ | Jason Parrott | |
| subquery. | |||
| 2016-03-17 | Refs #26367 -- Removed obsolete _size cache on FieldField. | Tim Graham | |
| The _size attribute is used in File.size but FieldFile overrides it. | |||
| 2016-03-14 | Fixed #26140 -- Suppressed MySQL warning when inserting binary content | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
