derive the class ModelForm from the base class in the return value of the method six.with_metaclass, called with 2 arguments:
class ModelForm ( six . with_metaclass ( ModelFormMetaclass , BaseModelForm ) ) :