I have a model like Main as shown below
    class Main(models.Model):
        Timestamp = models.DateTimeField(auto_now=True)
        name = models.CharField(max_length=100)
        .........................
        .........................
Main.objects.filter(id=1).update(name="abc") is updating the Timestamp to current datetime but when I use mysql query UPDATE Main SET name="abc" WHERE id=1 is not updating the Timestamp to current Datetime
Note: I want to use mysql query only.
Does anyone know how to do it?
 
    