django-computedfields
django-computedfields copied to clipboard
Provides autogenerated autoupdated database fields for model methods.
Bumps [tqdm](https://github.com/tqdm/tqdm) from 4.62.3 to 4.66.3. Release notes Sourced from tqdm's releases. tqdm v4.66.3 stable cli: eval safety (fixes CVE-2024-34062, GHSA-g7vv-2v7x-gj9p) tqdm v4.66.2 stable pandas: add DataFrame.progress_map (#1549) notebook: fix...
## Issue - I made a PR to show case my issue https://github.com/netzkolchose/django-computedfields/pull/144 - The real life issue is that i have say - 10 tags - 5000 adverts -...
- This PR is a show case for an issue ... - L17 of the test fails, because the hook is ran too many times
For some cases, there is a need to disable recalculation during complex operations (e.g., merging some objects, etc.). I know I can use bulk ORM operations to achieve this, but...
Currently many actions of related managers are not properly handled - some work, others dont. Seems the reason for some not working comes from bulk usage internally (all have a...
Hi, maybe i did'nt understand the way to handle this, however this is my case: I have a Campaign/Action_Model one to many relationship & i want a "is_finished" field to...
In theory we know all local fields, that are needed to update a cf, thus could lower the db/ORM/memory stress by only loading those fields with `.only`. Needs some investigation,...
let say ```python class SomeModel(ComputedFieldsModel): fieldA = ... @computed(..., depends=[('self', ['fieldA'])]) def comp(self): # do something with self.fieldA return ... ``` so i want a `comp_last_changed` which is a datetime...
Coming from #120 - we prolly want some sort of a setting/argument around computed fields to specify a certain manager to be used. This needs some thinking how to shape...
The f-expression restriction in methods is really nasty. We should investigate, when and how it is safe to declare expression values in computed field methods and document that more clearly....