<s> from pyramid_layout . layout import layout_config <EOL> from . models import Annoncement , Category <EOL> @ layout_config ( name = "<STR_LIT>" , template = '<STR_LIT>' ) <EOL> class MasterLayout ( object ) : <EOL> def __init__ ( self , context , request ) : <EOL> self . context = context <EOL> self . request = request <EOL> self . annoncements = request . db . query ( Annoncement ) <EOL> self . categories = request . db . query ( Category ) . filter_by ( parent = None ) . all ( ) </s>
