Django ORM autocomplete hangs IntelliJ trying to autocomplete fields in quotes



I'm using IntelliJ Ultimate 2018.2, with the Python plugin, all up to date.

I'm writing a Django App, and I am experiencing issues with the autocomplete for Django ORM filters.

I've attached a video of trying to do autocomplete on one of our Models - and notice how it hangs for a very long time trying to generate a list of things to autocomplete.

Note: this only happens for fields inside quotes - generally in `prefetch_related` - but also in the video that I'm showing for `order_by`. The IDE simply hangs in order to produce a dropdown.

Any suggestions on why this could be happening, and how to either fix it, or disable it until it gets fixed?



Comment actions Permalink

Hi Octavian,

Thank you for contacting PyCharm support.

We couldn't reproduce your problem.

Please upload your log folder (Help | Show Log in...) zipped using the link and provide the name of that zip file.

Looking forward to your reply.

Kind regards,


The Drive to Develop

Comment actions Permalink

Thanks for the follow up. I've uploaded the file - called '' (see screenshot):


Comment actions Permalink

Hi Octavian, the log contains exceptions related to JRE-834 problem, would you mind checking 2018.3 EAP build? It has the newest JRE build with the fix. You can install EAP alongside with the current installation.

Is the user interface completely stuck while you are waiting for a completion? Does the log folder contain any "threadDump" subfolder?

Comment actions Permalink

Yes it does freeze, I've uploaded an archive with all the freeze folders called ''.

I've downloaded 2018.3 EAP now and will start using it, will let you know if the issue resurfaces.

Comment actions Permalink

Thank you, I created a dedicated ticket in our bug tracker: Please comment there if the problem will persist in EAP.


Please sign in to leave a comment.