invenhost / inventree-shopify

InvenTree plugin to link inventory with Shopify
MIT License
6 stars 1 forks source link

Model class inventree_shopify.models.Product doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS. #13

Open gniezen opened 1 month ago

gniezen commented 1 month ago

I'm getting the following error and I'm not quite sure what to make of it?

Traceback (most recent call last):

File "/opt/inventree/env/lib/python3.9/site-packages/django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/opt/inventree/env/lib/python3.9/site-packages/inventree_shopify/ShopifyPlugin.py", line 165, in view_index
from .models import InventoryLevel, Product

File "/opt/inventree/env/lib/python3.9/site-packages/inventree_shopify/models.py", line 13, in <module>
class Product(models.Model):

File "/opt/inventree/env/lib/python3.9/site-packages/django/db/models/base.py", line 134, in __new__
raise RuntimeError(

RuntimeError: Model class inventree_shopify.models.Product doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.
invenhost-integration[bot] commented 1 month ago

Hello from Invenhost Integration app! gniezen opened this issue 🎉