소스 검색

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

Quentin Pradet 10 년 전
부모
커밋
6bc343d874
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      docs/howto/custom-lookups.txt

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

@@ -280,7 +280,8 @@ We can change the behavior on a specific backend by creating a subclass of
           rhs, rhs_params = self.process_rhs(compiler, connection)
           params = lhs_params + rhs_params
           return '%s != %s' % (lhs, rhs), params
-  Field.register_lookup(MySQLNotExact)
+
+  Field.register_lookup(MySQLNotEqual)
 
 We can then register it with ``Field``. It takes the place of the original
 ``NotEqual`` class as it has the same ``lookup_name``.