<s> from django . db import models <EOL> from django . db . models import TextField , BooleanField , ImageField <EOL> class Product ( models . Model ) : <EOL> photo = ImageField ( upload_to = '<STR_LIT>' ) <EOL> class Meta : <EOL> abstract = True <EOL> class Blind ( Product ) : <EOL> name = TextField ( ) <EOL> child_safe = BooleanField ( default = False ) <EOL> def __str__ ( self ) : <EOL> return self . name </s>
