浏览代码

Fixed #34446 -- Removed unneeded and incorrect example in coding style docs.

JiriKr 2 年之前
父节点
当前提交
cfe563ffaf
共有 1 个文件被更改,包括 0 次插入9 次删除
  1. 0 9
      docs/internals/contributing/writing-code/coding-style.txt

+ 0 - 9
docs/internals/contributing/writing-code/coding-style.txt

@@ -279,15 +279,6 @@ Model style
 
   Don't do this::
 
-      class Person(models.Model):
-          first_name = models.CharField(max_length=20)
-          last_name = models.CharField(max_length=40)
-
-          class Meta:
-              verbose_name_plural = "people"
-
-  Don't do this, either::
-
       class Person(models.Model):
           class Meta:
               verbose_name_plural = "people"