Traceback (most recent call last):
File "flutype/data_management/fill_database.py", line 72, in <module>
DatabaseDJ(ma).update_db()
File "flutype/data_management/fill_database.py", line 50, in update_db
self.update_ligands_or_batches(ligands)
File "flutype/data_management/fill_database.py", line 34, in update_ligands_or_batches
fill_multiple_models_from_dict(ligands)
File "/home/mkoenig/git/flutype_webapp/flutype/helper.py", line 374, in fill_multiple_models_from_dict
create_objects_from_df(object, object_df)
File "/home/mkoenig/git/flutype_webapp/flutype/helper.py", line 368, in create_objects_from_df
get_or_create_object_from_dic(object_n , **dict_single)
File "/home/mkoenig/git/flutype_webapp/flutype/helper.py", line 361, in get_or_create_object_from_dic
object, created = model.objects.get_or_create(**kwargs)
File "/home/mkoenig/envs/flutype_webapp/lib/python3.5/site-packages/django/db/models/manager.py", line 85, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/home/mkoenig/envs/flutype_webapp/lib/python3.5/site-packages/django/db/models/query.py", line 464, in get_or_create
return self.get(**lookup), False
File "/home/mkoenig/envs/flutype_webapp/lib/python3.5/site-packages/django/db/models/query.py", line 371, in get
clone = self.filter(*args, **kwargs)
File "/home/mkoenig/envs/flutype_webapp/lib/python3.5/site-packages/django/db/models/query.py", line 784, in filter
return self._filter_or_exclude(False, *args, **kwargs)
File "/home/mkoenig/envs/flutype_webapp/lib/python3.5/site-packages/polymorphic/query.py", line 158, in _filter_or_exclude
return super(PolymorphicQuerySet, self)._filter_or_exclude(negate, *(list(q_objects) + additional_args), **kwargs)
File "/home/mkoenig/envs/flutype_webapp/lib/python3.5/site-packages/django/db/models/query.py", line 802, in _filter_or_exclude
clone.query.add_q(Q(*args, **kwargs))
File "/home/mkoenig/envs/flutype_webapp/lib/python3.5/site-packages/django/db/models/sql/query.py", line 1250, in add_q
clause, _ = self._add_q(q_object, self.used_aliases)
File "/home/mkoenig/envs/flutype_webapp/lib/python3.5/site-packages/django/db/models/sql/query.py", line 1276, in _add_q
allow_joins=allow_joins, split_subq=split_subq,
File "/home/mkoenig/envs/flutype_webapp/lib/python3.5/site-packages/django/db/models/sql/query.py", line 1210, in build_filter
condition = self.build_lookup(lookups, col, value)
File "/home/mkoenig/envs/flutype_webapp/lib/python3.5/site-packages/django/db/models/sql/query.py", line 1104, in build_lookup
return final_lookup(lhs, rhs)
File "/home/mkoenig/envs/flutype_webapp/lib/python3.5/site-packages/django/db/models/lookups.py", line 24, in __init__
self.rhs = self.get_prep_lookup()
File "/home/mkoenig/envs/flutype_webapp/lib/python3.5/site-packages/django/db/models/lookups.py", line 74, in get_prep_lookup
return self.lhs.output_field.get_prep_value(self.rhs)
File "/home/mkoenig/envs/flutype_webapp/lib/python3.5/site-packages/django/db/models/fields/__init__.py", line 1296, in get_prep_value
return self.to_python(value)
File "/home/mkoenig/envs/flutype_webapp/lib/python3.5/site-packages/django/db/models/fields/__init__.py", line 1271, in to_python
params={'value': value},
django.core.exceptions.ValidationError: ["'1968' value has an invalid date format. It must be in YYYY-MM-DD format."]