how to query and update an object in django code example
Example: update queryset in django
>>> Entry.objects.filter(pub_date__year=2010).update(comments_on=False)
>>> Entry.objects.filter(pub_date__year=2010).update(comments_on=False)