DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
django queryset exists
if some_queryset.exists(): print("There is at least one object in some_queryset")
Source by docs.djangoproject.com #
PREVIOUS
NEXT
Tagged:
#django
#queryset
#exists
ADD COMMENT
Topic
COMMENT
Name
7+3 =
Submit