Kaydet (Commit) 6bc343d8 authored tarafından Quentin Pradet's avatar Quentin Pradet Kaydeden (comit) Tim Graham

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

üst 7d833ee3
......@@ -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``.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment