PyCharm stopped model-related autofill suggestions in filter field

Answered

Typing in between the brackets of `Model.objects.filter()` stopped giving me suggestions.

It's the same issue as listed here, but the solutions mentioned did not resolve the issue.

  • I have PyCharm Ultimate
  • Django is configured properly under "Language & Frameworks" | "Django", if I click "show structure" it lists my models.
  • I have the latest version
  • and... restarted OS

Thanks in advance.

0
4 comments

Do you have project interpreter configured? Are other suggestions working? 

Try File > Invalidate caches / restart

Are you using django-stubs by any chance?

0

This has just started happening to me as well - I have a pro licence using 2020.3.1. I have project interpreter configured, and django framework support enabled. but nothing.

 

I created a brand new project to test this in, and still doesn't work. Really frustrating, as I have a quite complicated nested ORM to navigate, and I really value this feature!

1

It happens to me as well with 2020.03.1

0

Hi all,

The issue is known https://youtrack.jetbrains.com/issue/PY-45879 and we are working on the fix. As a temporary workaround, you can downgrade to 2020.2.5

I'm sorry for the inconvenience.

1

Please sign in to leave a comment.