#NEWLINE# def __init__( self , view , additional = None ) : #NEWLINE# #INDENT# super ( CustomModelConverter , self ) . __init__ ( additional ) #NEWLINE# self . view = view #NEWLINE# self . defaults [ CharField ] = fields . StringField #NEWLINE# self . converters [ PrimaryKeyField ] = view . handle_pk #NEWLINE# self . converters [ DateTimeField ] = self . handle_datetime #NEWLINE# self . converters [ DateField ] = self . handle_date #NEWLINE# self . converters [ TimeField ] = self . handle_time #NEWLINE# self . overrides = ( getattr ( self . view , 'form_overrides' , None ) or { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } )