标签:
class Tag(models.Model): title = models.CharField(max_length=30) def __str__(self): return self.title class Meta: verbose_name = ‘标签‘ verbose_name_plural = ‘标签‘
Django model 改成中文标题
原文地址:http://www.cnblogs.com/alan-babyblog/p/5801305.html