How to suppress the 'Invalid class attribute name "id"' pylint warning for Django models?

Viewed 3325

The default primary key column in Django models is named id, which is not a valid class attribute name according to pylint. How can I suppress the 'Invalid class attribute name "id"' pylint warning for Django model classes (or for the whole project) ?

1 Answers
Related