Django如何从Model中获取字段名称——verbose_name
摘要:
# models.pyfrom django.db import models # Create your models here. class UserInfo(models.Model): name = models.CharField(max_length=32,verbose_name='用 阅读全文
posted @ 2022-07-28 21:01 一先生94 阅读(840) 评论(0) 推荐(0) 编辑