Shlomo Gordon
Shlomo Gordon
Thanks. Is there a way to do that using JSX syntax? I tried this: `d3Force={("link").distance((link) => 150 - (link.level)).strength(1)}` But I get an error: TypeError: "link".distance is not a function
I understand you're view point and don't really expect it to be rewritten in this way at this point, but I do think it is a plausible approach. The idea...
We can change the body to be rendered html in the context instead of an include.
I'm not sure I understand your question, but you can now do a query like this for example: ``` CRUDEvent.objects.filter(object_json_repr__0__model="app.user", changed_fields__has_key="name") ``` This will give you all the records of...
@jheld Just following up on this. Are there any issues with this?
`_base_manager` will always return all records, the `_default_manager` may be filtering out records and can still raise an DoesNotExist exception. [https://docs.djangoproject.com/en/5.0/topics/db/managers/#django.db.models.Model._base_manager](https://docs.djangoproject.com/en/5.0/topics/db/managers/#django.db.models.Model._base_manager)
Side question. Is there a reason why `object_json_repr` is stored in a list? It's a bit un-intuitive to have to add the 0 to query the json. `CRUDEvent.objects.filter(object_json_repr__0__model="app.model")` https://github.com/soynatan/django-easy-audit/blob/70e192ba7cb527c0b4bc1c02022ea045fd2829eb/easyaudit/signals/model_signals.py#L90
Thank you for your response. I will look into it.