Enrique Soria

Results 34 comments of Enrique Soria

> Would it be possible to also state somewhere that this library works on `save()` and `delete()` methods and not with django signals? What I mean by that is when...

Add gotcha with `has_changed` when combined with fields translated using [django-modeltranslation](https://github.com/deschler/django-modeltranslation)

I've faced same problem with one project. If we don't find a way to solve this (maybe only deepcopy model fields?) we should probably rollback this feature.

Solved in #161, which will be included in version 1.2.4

Thanks for reporting this bug! 🐞 That could be a solution, but I don't like having to specify which fields are going to be updated in the decorator because in...

Hi, can you give an example of how you're using the hook? i.e.: ```python @hook(AFTER_SAVE, has_changed=True) ``` > This doesn't happen if is_changed=False but if True then every field in...

I'm sorry but I'm not sure if I understand what you want to achieve. Could you write in words when you expect your hooks to be fired so I can...

> so would like the has_changed flag to apply only to the fields mentioned in the AFTER_SAVE decorator. That's [how it works](https://rsinger86.github.io/django-lifecycle/examples/#watching-multiple-fields). This should do the trick, it will fire...

Hi, could you provide an example of how would you expect this to work and how it actually behaves? That would help a lot.

Thanks for the example. I will test it when I have time, but it should work as you expected. We've recently made a change that involved refreshing initial state on...