Ubuntu Pastebin

Paste from david at Mon, 7 Sep 2015 12:55:52 +0000

Download as text
1
2
3
4
5
        index_doc = page_resolver.get_page_queryset_from_path(
            self.docs_namespace)
        if len(index_doc):
        # All pages in this namespace currently in the database
            db_pages = index_doc[0].get_descendants().all()
Download as text