Search
 
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
Name
3+5 =