/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
pylint_django
/
tests
/
input
/
Upload Filee
HOME
""" Ensures that under PY3 django models with a __unicode__ method are flagged """ # pylint: disable=missing-docstring from django.db import models class SomeModel(models.Model): # [model-has-unicode] something = models.CharField(max_length=255) # no __str__ method something.something_else = 1 def lala(self): pass def __unicode__(self): return self.something