#NEWLINE# def get_form_class( self ) : #NEWLINE# #INDENT# app_label = self . kwargs [ 'app_label' ] #NEWLINE# name = self . kwargs [ 'name' ] #NEWLINE# class ConfigForm ( forms . Form ) : #NEWLINE# #INDENT# '\n            dynamic generated form with all settings\n            ' #NEWLINE# def __init__( self , * args , **kwargs ) : #NEWLINE# #INDENT# super ( ConfigForm , self ) . __init__ ( * args , ** kwargs ) #NEWLINE# self . fields [ name ] = site . get_setting_field ( app_label , name ) #NEWLINE# #UNINDENT# #UNINDENT# return ConfigForm