'Update None values in django Database

I have field in django model city which stored None but i want to update it how can i update the field data with respect to user id I tried

 a=Model.objects.filter(id=1).update(City = 'Vatican')

this returned 1



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source