DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
finding distince or unique value from a field in django model
models.Shop.objects.order_by().values('city').distinct()
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#finding
#distince
#unique
#field
#django
#model
ADD COMMENT
Topic
COMMENT
Name
4+4 =
Submit