Understanding “Too many ancestors” from pylint

The problem is that you inherit from a class which has itself (too) many ancestors: RegisterForm. In your case, you can’t do a lot about this, beside stopping using it which is probably not an option. So you may want to disable this message for this class, eg:

class ExtendedRegisterForm(RegisterForm): # pylint: disable=too-many-ancestors

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)