📁 File Manager Pro
v10.0.3 | PHP: 7.4.33
Server: LiteSpeed
2026-06-26 18:07:33
📂
/ (Root)
/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
pylint_django
/
tests
/
input
📍 /opt/cloudlinux/venv/lib/python3.11/site-packages/pylint_django/tests/input
🔄 Refresh
✏️
Editing: func_model_no_explicit_unicode_str_compat.py
Read Only
""" Ensures that django models with a __str__ method defined in an ancestor and python_2_unicode_compatible decorator applied are flagged correctly as not having explicitly defined __unicode__ """ # pylint: disable=missing-docstring from django.db import models from six import python_2_unicode_compatible @python_2_unicode_compatible class BaseModel(models.Model): def __str__(self): return "Foo" class SomeModel(BaseModel): # [model-no-explicit-unicode] pass
💾 Save Changes
❌ Cancel