Disable ip_type and ip_str when creating an object from range detail view