def _create_unit_form(request, language, unit):
 form_class = unit_form_factory(language, request=request)
 return form_class(request.POST, instance=unit, request=request)

def _create_unit_form ( request , language , unit ) : form_class = unit_form_factory ( language , request = request ) return form_class ( request . POST , instance = unit , request = request )
convenience function to create unit forms .