def __str__(self) being ignored in Django admin

后端 未结 0 1411
孤城傲影
孤城傲影 2021-01-07 15:20

I have the following model defined:

from django.db import models

class Patient(models.Model):
    BIRTH_GENDERS = (
        (\'F\', \'Female\'),
               


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题