Fixed #24057 -- Fixed typo in docs/howto/custom-lookups.txt.
This commit is contained in:
parent
7fd5629d23
commit
508be27dbf
|
@ -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):
|
||||
# ...
|
||||
|
||||
|
|
Loading…
Reference in New Issue