File manager - Edit - /opt/cloudlinux/venv/lib/python3.11/site-packages/pylint_django/tests/input/func_noerror_unicode_py2_compatible.py
Back
""" Ensures that no '__unicode__ missing' warning is emitted if the Django python3/2 compatability decorator is used See https://github.com/PyCQA/pylint-django/issues/10 """ from django.db import models # pylint: disable=missing-docstring from six import python_2_unicode_compatible @python_2_unicode_compatible class ModelName(models.Model): name = models.CharField(max_length=200) def __str__(self): return self.name
| ver. 1.4 |
Github
|
.
| PHP 7.3.33 | Generation time: 0.05 |
proxy
|
phpinfo
|
Settings