rsinger86/django-lifecycle

Allow dot notation for accessing related model fields

Closed this issue · 0 comments

Would be nice to be able to check related model fields like this:

@hook("after_update", when="status.name", is_now="published")
    def send_newsletter(self):
        email.send()