Файловый менеджер - Редактировать - /opt/cloudlinux/venv/lib/python3.11/site-packages/pylint_django/tests/input/func_noerror_unicode_py2_compatible.py
Назад
""" 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 8.1.33 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка