#NEWLINE# def create_fixtures( self ) : #NEWLINE# #INDENT# '\n        Tree from fixture:\n\n            + P1\n            | + P2\n            |   + P3\n            | + P9\n            |   + P10\n            |      + P11\n            + P4\n            | + P5\n            + P6 (not in menu)\n              + P7\n              + P8\n        ' #NEWLINE# defaults = { #NEWLINE# #INDENT# 'template' : 'nav_playground.html' , #NEWLINE# 'language' : 'en' , #NEWLINE# #UNINDENT# } #NEWLINE# with self . settings ( CMS_MODERATOR = False , CMS_PERMISSION = False ) : #NEWLINE# #INDENT# p1 = create_page ( 'P1' , published = True , in_navigation = True , ** defaults ) #NEWLINE# p4 = create_page ( 'P4' , published = True , in_navigation = True , ** defaults ) #NEWLINE# p6 = create_page ( 'P6' , published = True , in_navigation = False , ** self ) #NEWLINE# p2 = create_page ( 'P2' , published = True , in_navigation = True , parent = p1 , ** defaults ) #NEWLINE# create_page ( 'P3' , published = True , in_navigation = True , parent = p2 , ** defaults ) #NEWLINE# create_page ( 'P5' , published = True , in_navigation = True , parent = p4 , ** defaults ) #NEWLINE# create_page ( 'P7' , published = True , in_navigation = True , parent = p6 , ** defaults ) #NEWLINE# create_page ( 'P8' , published = True , in_navigation = True , parent = p6 , ** defaults ) #NEWLINE# p9 = create_page ( 'P9' , published = True , in_navigation = True , parent = p1 , ** defaults ) #NEWLINE# p10 = create_page ( 'P10' , published = True , in_navigation = True , parent = p9 , ** defaults ) #NEWLINE# create_page ( 'P11' , published = True , in_navigation = True , parent = p10 , ** defaults )