#NEWLINE# @ property #NEWLINE# def page_context( self ) : #NEWLINE# #INDENT# if ( ( not self . app ) or ( self . app . doc_type == 'RemoteApp' ) ) : #NEWLINE# #INDENT# raise Http404 ( ) #NEWLINE# #UNINDENT# form_name_map = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for module in self . app . get_modules ( ) : #NEWLINE# #INDENT# for form in module . get_forms ( ) : #NEWLINE# #INDENT# form_name_map [ form . unique_id ] = { #NEWLINE# #INDENT# 'module_name' : module . name , #NEWLINE# 'form_name' : form . name , #NEWLINE# #UNINDENT# } #NEWLINE# #UNINDENT# #UNINDENT# return { #NEWLINE# #INDENT# 'VELLUM_TYPES' : VELLUM_TYPES , #NEWLINE# 'form_name_map' : form_name_map , #NEWLINE# 'langs' : self . app . langs , #NEWLINE# #UNINDENT# }