<s> from django . db import models <EOL> from . validators import egn_validator , eik_validator <EOL> class BGEGNField ( models . CharField ) : <EOL> """<STR_LIT>""" <EOL> default_validators = models . CharField . default_validators + [ egn_validator ] <EOL> def __init__ ( self , * args , ** kwargs ) : <EOL> kwargs [ '<STR_LIT:max_length>' ] = <NUM_LIT:10> <EOL> super ( BGEGNField , self ) . __init__ ( * args , ** kwargs ) <EOL> def deconstruct ( self ) : <EOL> name , path , args , kwargs = super ( BGEGNField , self ) . deconstruct ( ) <EOL> del kwargs [ '<STR_LIT:max_length>' ] <EOL> return name , path , args , kwargs <EOL> class BGEIKField ( models . CharField ) : <EOL> """<STR_LIT>""" <EOL> default_validators = models . CharField . default_validators + [ eik_validator ] <EOL> def __init__ ( self , * args , ** kwargs ) : <EOL> kwargs [ '<STR_LIT:max_length>' ] = <NUM_LIT> <EOL> super ( BGEIKField , self ) . __init__ ( * args , ** kwargs ) <EOL> def deconstruct ( self ) : <EOL> name , path , args , kwargs = super ( BGEIKField , self ) . deconstruct ( ) <EOL> del kwargs [ '<STR_LIT:max_length>' ] <EOL> return name , path , args , kwargs </s>
