소스 검색

Typo in generic views docs - People -> Person (#8720)

Matt Westcott 2 년 전
부모
커밋
911f17bf8f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/extending/generic_views.md

+ 1 - 1
docs/extending/generic_views.md

@@ -55,7 +55,7 @@ from .models import Person
 
 
 class PersonChooserViewSet(ChooserViewSet):
-    model = People
+    model = Person
     icon = "user"
     choose_one_text = "Choose a person"
     choose_another_text = "Choose another person"