Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django models distinct

q = XXXModels.objects.values('{filed}').distinct()
 
PREVIOUS NEXT
Tagged: #django #models #distinct
ADD COMMENT
Topic
Name
5+5 =