'Validate that form subclasses BaseModelForm.'

def validate_form(self, cls, model):

    if (hasattr(cls, 'form') and (not issubclass(cls.form, BaseModelForm))):
        raise ImproperlyConfigured(('%s.form    does    not    inherit    from    BaseModelForm.' % cls.__name__))
