#NEWLINE# @ converts ( 'databases.postgres.PGInet' , 'dialects.postgresql.base.INET' ) #NEWLINE# def conv_PGInet( self , field_args , **extra ) : #NEWLINE# #INDENT# field_args . setdefault ( 'label' , 'IP Address' ) #NEWLINE# field_args [ 'validators' ] . append ( validators . IPAddress ( ) ) #NEWLINE# return f . TextField ( ** self )