More provenance #328
Issues #328 (closed)
We need to set the importer user in the settings. I see you added this in /importer/importer.py :
but I don't see where IMPORTER_USER is set in the VM.
self.importer_user = None
importer_user_name = getattr(settings, "IMPORTER_USER", None)
if importer_user_name is not None:
user = User.objects.filter(username=importer_user_name)
if user is None:
logger.warn("User does not exist: " + importer_user_name)
else:
self.importer_user = Worker.objects.filter(user=user)