/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
pylint_django
/
tests
/
input
/
Upload Filee
HOME
""" Ensures that django models without a __unicode__ method are flagged """ # pylint: disable=missing-docstring,wrong-import-position from django.db import models def external_unicode_func(model): return model.something class SomeModel(models.Model): something = models.CharField(max_length=255) __unicode__ = external_unicode_func