PyCharm Autocomplete Adds Parentheses to Non-callable Things

The above image shows that I am in the Python Console working on a Django project.

Price is a Django field on a content model.

I want PyCharm to suggest: price

not: price()

>>> p.content.price()
Traceback (most recent call last):
  File "C:\Python37\lib\", line 90, in runcode
    exec(code, self.locals)
  File "<input>", line 1, in <module>
TypeError: 'decimal.Decimal' object is not callable

Is there a way to configure the Python console / Django interactive console to achieve this?

I have invalidated caches but same behavior. How can I tell PyCharm autocomplete that it should not include parentheses on certain things? It doesn't seem to be detecting it.


Please sign in to leave a comment.