fixes django 1.7 deprecation using modelform_factory