Note why ordering is not applied in TaggedItem.Meta

This commit is contained in:
Jason Novinger 2025-07-29 11:35:28 -05:00
parent 7fa81f1498
commit 808db8c8e8

View File

@ -83,3 +83,6 @@ class TaggedItem(GenericTaggedItemBase):
indexes = [models.Index(fields=["content_type", "object_id"])] indexes = [models.Index(fields=["content_type", "object_id"])]
verbose_name = _('tagged item') verbose_name = _('tagged item')
verbose_name_plural = _('tagged items') verbose_name_plural = _('tagged items')
# Note: while there is no ordering applied here (because it would basically be done on fields
# of the related `tag`), there is an ordering applied to extras.api.views.TaggedItemViewSet
# to allow for proper pagination.