cms/apps/pages/models.py
def filter_indexable_pages(queryset):
    '''
    Filters the given queryset of pages to only contain ones that should be
    indexed by search engines.
    '''
    return queryset.filter(
        robots_index=True,
        content_type__in=[
            ContentType.objects.get_for_model(content_model)
            for content_model
            in get_registered_content()
            if content_model.robots_index
        ]
    )

    Filters the given queryset of pages to only contain ones that should be
    indexed by search engines.
    
Filters the given queryset of pages to only contain ones that should be
indexed by search engines.
Filters the given queryset of pages to only contain ones that should be indexed by search engines .
def filter_indexable_pages(queryset):
    return queryset.filter(
        robots_index=True,
        content_type__in=[
            ContentType.objects.get_for_model(content_model)
            for content_model
            in get_registered_content()
            if content_model.robots_index
        ]
    )
def filter_indexable_pages ( queryset ) : return queryset . filter ( robots_index = True , content_type__in = [ ContentType . objects . get_for_model ( content_model ) for content_model in get_registered_content ( ) if content_model . robots_index ] )
Filters the given queryset of pages to only contain ones that should be
indexed by search engines.
Filters the given queryset of pages to only contain ones that should be indexed by search engines .
'''
    Filters the given queryset of pages to only contain ones that should be
    indexed by search engines.
    '''
queryset