MCPcopy
hub / github.com/django/django / add_votes

Method add_votes

django/db/models/sql/query.py:2835–2840  ·  view source on GitHub ↗

Add single vote per item to self.votes. Parameter can be any iterable.

(self, votes)

Source from the content-addressed store, hash-verified

2833 )
2834
2835 def add_votes(self, votes):
2836 """
2837 Add single vote per item to self.votes. Parameter can be any
2838 iterable.
2839 """
2840 self.votes.update(votes)
2841
2842 def update_join_types(self, query):
2843 """

Callers 2

combineMethod · 0.95
_add_qMethod · 0.95

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected