Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django model query join

Blog.objects.filter(entry__headline__contains='Lennon').filter(entry__pub_date__year=2008)
Source by docs.djangoproject.com #
 
PREVIOUS NEXT
Tagged: #django #model #query #join
ADD COMMENT
Topic
Name
8+9 =