Skip to content
This repository has been archived by the owner on Aug 10, 2024. It is now read-only.

bug: historical importer does not create ItemDeviceType #323

Open
bwdmonkey opened this issue Dec 3, 2021 · 1 comment
Open

bug: historical importer does not create ItemDeviceType #323

bwdmonkey opened this issue Dec 3, 2021 · 1 comment
Assignees

Comments

@bwdmonkey
Copy link
Member

bwdmonkey commented Dec 3, 2021

Requirements

  • For some Items in the system, there are data with no ItemDeviceType connections. We need to figure out why and resolve this issue.
  • We could be losing data
@bwdmonkey
Copy link
Member Author

$ make shell
>>> from app.models import Item, ItemDevice
>>> Item.objects.filter(device__in=ItemDevice.objects.filter(dtype_id=None)).count()
18163

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants