<s> from sellmo . contrib . discount . forms import ProductDiscountsForm <EOL> class ProductDiscountsMixin ( object ) : <EOL> def get_form ( self , request , obj = None , ** kwargs ) : <EOL> bases = ( ProductDiscountsForm , ) <EOL> if '<STR_LIT>' in kwargs : <EOL> bases += ( kwargs . get ( '<STR_LIT>' ) , ) <EOL> kwargs [ '<STR_LIT>' ] = type ( '<STR_LIT>' , bases , { } ) <EOL> return super ( ProductDiscountsMixin , self ) . get_form ( <EOL> request , <EOL> obj = obj , <EOL> ** kwargs <EOL> ) </s>
