def _save(self, request):
        self.full_clean()
        data = self.cleaned_data
        optiondict = _get_optiondict()

        #dirty is a comma delimited list of groupid__optionid strings
        dirty = self.cleaned_data['dirty'].split(',')
        if dirty:
            for key in dirty:
                # this is the keep/create checkbox field
                try:
                    keep = data["pv__" + key]
                    opts = _get_options_for_key(key, optiondict)
                    if opts:
                        if keep:
                            self._create_variation(opts, key, data, request)
                        else:
                            self._delete_variation(opts, request)
                except __HOLE__:
                    pass
dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/product/forms.py/VariationManagerForm._save