class EmptyQuerySet
from django.db.models.query import EmptyQuerySet
Marker class to checking if a queryset is empty by .none(): isinstance(qs.none(), EmptyQuerySet) -> True
Ancestors (MRO)
- builtins.object
- django.db.models.query.EmptyQuerySet
50" :data-bs-theme="light ? 'light' : 'dark'">
from django.db.models.query import EmptyQuerySet
Marker class to checking if a queryset is empty by .none(): isinstance(qs.none(), EmptyQuerySet) -> True