Code is perfectly working but 'pylint' extension shows an error .

My full code is perfectly working . There is no issue . But ‘pylint’ shows an error . The error is : Class 'Category' has no 'object' member.Look at the below image for better understanding.

You can safely ignore it.

I’m sure there’s a way to configure pylint to not generate that message - or even to recognize some of the Django metaclass “magic” that exists, but I don’t know it right off-hand.

I believe there have also been other topics in the forum discussing this - you might try searching for “pylint” to see what you can find.
See - Class 'Question' has no 'objects' member pylint(no-member) as a start.

1 Like