소스 검색

Fixed #24057 -- Fixed typo in docs/howto/custom-lookups.txt.

Christopher Grebs 10 년 전
부모
커밋
508be27dbf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/howto/custom-lookups.txt

+ 1 - 1
docs/howto/custom-lookups.txt

@@ -50,7 +50,7 @@ Lookup registration can also be done using a decorator pattern::
 
     from django.db.models.fields import Field
 
-    @Field.registerLookup
+    @Field.register_lookup
     class NotEqualLookup(Lookup):
         # ...