Django Structure Tool Window -- Models don't show unless defined directly in

I'm interested in seeing my Django project structure, but the Structure Tool Window is only showing models in my applications that are defined in the root file. In my app, I have many models that are in a `my-app/models` directory. I thought I could import the models into the base like:

from django.db import models
from .models import *

class MyModel(models.Model):

but the Tool Window only shows the `MyModel` class in its view. the `models/` file has this in it:

from .complaints import *
from .labor_operations import *
from .models import *

Anyone run into this and have a solution? This is also a problem with my views, too.

1 comment
Hi, this is
As a workaround, consider using explicit imports instead of the wildcard "*" until the issue is fixed. I'm sorry for the inconvenience.

Please sign in to leave a comment.