Файловый менеджер - Редактировать - /opt/cloudlinux/venv/lib/python3.11/site-packages/pylint_django/tests/input/func_noerror_model_unicode_lambda.py
Назад
""" Ensures that django models without a __unicode__ method are flagged """ # pylint: disable=missing-docstring,wrong-import-position from django.db import models class SomeModel(models.Model): something = models.CharField(max_length=255) __unicode__ = lambda s: str(s.something) # noqa: E731
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка