Using this function to find out which page(s) has a certain/given content type
def get_page_for_ct(request, ct):
ctp_page = Page.content_type_for(ct)
page = ctp_page.objects.filter(parent__language=request.LANGUAGE_CODE)
if not page:
raise ImproperlyConfigured(
'page not found: "%s" for language "%s" '
% (ct, request.LANGUAGE_CODE))
return page[0].parent