DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to get a specific field in django
r = ModelName.objects.filter(id=1).values_list('column_name', flat=True)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#specific
#field
#django
ADD COMMENT
Topic
COMMENT
Name
3+5 =
Submit