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

order_properly

Returns a QuerySet containing all the pages in this QuerySet, but sorted in ascending order by their order field (falling back on id when the order 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 on id when the order fields for two pages are the same).

Returns:

A QuerySet containing all the pages in this QuerySet sorted by their order and id fields in ascending order.