model定义gender = models.CharField(max_length=2, choices=(('male', u'男'), ('female', u'nv')), verbose_name=u'性别')html取值object.get_gender_display