How to save a model without sending a signal?

django, django-models, python

Solution

It's a bit of a hack, but you can do something like this:

use a unique identifier with a filter and then use the update method of the queryset (which does not trigger the signals)

user_id = 142187
User.objects.filter(id=user_id).update(name='tom')

Problem

How can I save a model, such that signals arent sent. (post_save and pre_save)

Original source