diff --git a/base/models.py b/base/models.py index 6fd73b9..737a203 100644 --- a/base/models.py +++ b/base/models.py @@ -94,7 +94,7 @@ class Drilling(models.Model): section = models.ForeignKey(Section, blank=True, null=True) def __unicode__(self): - return self.name + return self.code class Meta: verbose_name_plural = u'钻孔'