I have a model:
class Object(Object1): name = models.CharField(max_length=255, blank=True) description = models.TextField(blank=True) date_updated = models.DateTimeField(blank=True, null=True) I want to track if there is anything inserted into the date_updated field, then create another object in another model, without overriding the save method.
For example:
if date_updated: MyModel.objects.create(type="D", user=request.user) Although I have tried this, but still no success.
post_savesignal ?pre_saveorpost_savecould be useful: docs.djangoproject.com/en/1.9/ref/signals