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:20:00 -0500 |
| commit | 614cbf1c3c5010d0180deac6d335b37d174c89ec (patch) | |
| tree | 80ae75226c6705763d77ee3382edc11fa164cb41 /docs | |
| parent | 44527ac346df590bfc42075d06e7bf0885bd9eda (diff) | |
[1.7.x] Fixed typo in docs/howto/custom-lookups.txt.
Backport of 6bc343d8749b3698dd15d1de59dfc02928bb772c from master
Diffstat (limited to 'docs')
| -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 4de15f8140..f8ef1f1a1a 100644 --- a/docs/howto/custom-lookups.txt +++ b/docs/howto/custom-lookups.txt @@ -230,7 +230,8 @@ We can change the behavior on a specific backend by creating a subclass of rhs, rhs_params = self.process_rhs(qn, 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``. |
