reset date values if they are empty

This commit is contained in:
j 2019-06-28 10:36:42 +02:00
parent c3dbeaee68
commit eec8a6c178

View file

@ -1047,8 +1047,7 @@ class Item(models.Model):
pass pass
else: else:
continue continue
if value_ is not None: set_value(s, name, value_)
set_value(s, name, value_)
s.save() s.save()
def update_facet(self, key): def update_facet(self, key):