My PyChar recently stopped offers for my django project. This does not mean that the model field is entered. Here is an example
my model.py file,
class User(model):
field_one = django.field
field_two = djangp.field
please ignore the information as it is not a real model,
so whenever i try to use
user = User.objects.get(field_one='something')
my PyCharm used to give me a suggestion of fields inside .get()when my cursor was inside brackets, for example field_one, field_twoand other objects / fields from a super class, etc., but now it does not give me any suggestions. This is painful because I have foreign keys in my model that has other foreign keys. It was easy to write queries, but now itβs not easy, since my models are large and contain different connections using foreign keys.
I tried changing the preference, python interpreter, django support, etc. that I found on the Internet. PyCharm offers me other python and autofills codes, so if I write
user = User.objects.
he will give me suggestions about the get (), filter (), get_or_create () methods, etc., but not in the field inside the method.
Can someone tell me how to fix this?
Thank.