diff options
| author | Quentin Pradet <quentin.pradet@gmail.com> | 2014-12-07 21:02:19 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-12-08 07:18:54 -0500 |
| commit | 6bc343d8749b3698dd15d1de59dfc02928bb772c (patch) | |
| tree | ca0a63ff79a40f3eb31f3c14776c7b0aaa016fa1 | |
| parent | 7d833ee38a00aadd84dbdb4ac947e98a7e91d7aa (diff) | |
Fixed typo in docs/howto/custom-lookups.txt.
| -rw-r--r-- | docs/howto/custom-lookups.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/howto/custom-lookups.txt b/docs/howto/custom-lookups.txt index 0fe678f9fe..5c5621e28c 100644 --- a/docs/howto/custom-lookups.txt +++ b/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``. |
