PageQuerySet¶
Qualified name: intranet.apps.signage.models.PageQuerySet
- class intranet.apps.signage.models.PageQuerySet(model=None, query=None, using=None, hints=None)[source]¶
Bases:
QuerySet
Methods
Returns a QuerySet containing all the pages in this QuerySet, but sorted in ascending order by their
order
field (falling back onid
when theorder
fields for two pages are the same).Attributes
- order_properly() QuerySet [source]¶
Returns a QuerySet containing all the pages in this QuerySet, but sorted in ascending order by their
order
field (falling back onid
when theorder
fields for two pages are the same).- Returns:
A QuerySet containing all the pages in this QuerySet sorted by their
order
andid
fields in ascending order.