Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyCharm not finding classes #198

Open
GitRon opened this issue Mar 24, 2021 · 2 comments
Open

PyCharm not finding classes #198

GitRon opened this issue Mar 24, 2021 · 2 comments

Comments

@GitRon
Copy link

GitRon commented Mar 24, 2021

I hope I'm not reacting a duplicate issue, but couldn't find it in the first sweep.

grafik

Pycharm is not detecting any classes thus it cannot help suggesting attributes etc. Plus I get loads of warnings which I try to avoid.

Any ideas on the topic?

Thanks!
Ronny

@drsounds
Copy link

Hi,

I encounted the same problem. For me I found out you nowmore seems to have to import from nested_admin.nested

    from nested_admin.nested import NestedGenericTabularInline

@GitRon
Copy link
Author

GitRon commented Apr 8, 2021

Yes, this works. Still, could be easier to do or should be at least documented.

I went with this approach:

from nested_admin import nested

class MyNestedInline(nested.NestedGenericTabularInline):
    pass

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

No branches or pull requests

2 participants