Django ValidationError中的单下划线 用惯pycharm,结果这个下划线无法自动找到。后来看文档发现其是翻译gettext的简化格式,import方式: from django.utils.translation import ugettext as _