This commit is contained in:
baoliang 2018-09-04 10:36:51 +08:00
parent a441ec106a
commit 0889306222
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ class Drilling(models.Model):
section = models.ForeignKey(Section, blank=True, null=True) section = models.ForeignKey(Section, blank=True, null=True)
def __unicode__(self): def __unicode__(self):
return self.name return self.code
class Meta: class Meta:
verbose_name_plural = u'钻孔' verbose_name_plural = u'钻孔'