Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django update model

Model.objects.filter(id = 223).update(field1 = 2)
 
PREVIOUS NEXT
Tagged: #django #update #model
ADD COMMENT
Topic
Name
5+9 =