from django.db import models


class PageQuerySet(models.QuerySet):

    def published(self):
        return self.filter(is_published=True)

@@ -22,16 +22,46 @@
  models%0A
+from .transforms import SKeys%0A
 %0A%0Aclass 
@@ -163,8 +163,123 @@
 d=True)%0A
+%0A    def fragment_keys(self):%0A        return self.annotate(keys=SKeys('fragments')).values_list('keys', flat=True)%0A

Add fragment_keys method to PageQuerySet