관리-도구
편집 파일: func_noerror_ignore_meta_subclass.py
""" This test ensures that a 'Meta' class defined on a Django model does not raise warnings such as 'old-style-class' and 'too-few-public-methods' """ # pylint: disable=missing-docstring from django.db import models class SomeModel(models.Model): class Meta: ordering = ("-id",)