#NEWLINE# def get_inlines( self ) : #NEWLINE# #INDENT# if ( not hasattr ( self , '_inlines' ) ) : #NEWLINE# #INDENT# self . _inlines = [ ] #NEWLINE# for model in TemplateRegistry . get_models ( ) : #NEWLINE# #INDENT# template_form = TemplateRegistry . get_form ( model ) #NEWLINE# class TemplateInline ( BaseTemplateInline ) : #NEWLINE# #INDENT# form = template_form #NEWLINE# verbose_name = ( 'Template for %s %s provision' % ( model . _meta . app_label , model . _meta . verbose_name ) ) #NEWLINE# verbose_name_plural = ( 'Templates for %s %s provision' % ( model . _meta . app_label , model . _meta . verbose_name ) ) #NEWLINE# #UNINDENT# self . _inlines . append ( TemplateInline ) #NEWLINE# #UNINDENT# #UNINDENT# return self . _inlines