Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

update queryset in django

>>> Entry.objects.filter(pub_date__year=2010).update(comments_on=False)
Source by amittbhardwj.wordpress.com #
 
PREVIOUS NEXT
Tagged: #update #queryset #django
ADD COMMENT
Topic
Name
2+2 =