def save(self):
    value = dict([(f.name, f.value()) for f in self])
    user_widget = UserWidget.objects.get(id=self.id)
    user_widget.set_value(value)
    user_widget.save()
def save(self):
    value = dict([(f.name, f.value()) for f in self])
    user_widget = UserWidget.objects.get(id=self.id)
    user_widget.set_value(value)
    user_widget.save()