get the value under self._pk_field.name key of form._meta.widgets dictionary, if it exists substitute it for widget, if not,
widget = form . _meta . widgets . get ( self . _pk_field . name , HiddenInput )