mirror of https://github.com/django/django.git
Added docs to index
This commit is contained in:
parent
6d53963f37
commit
4fba5dfaa0
|
@ -180,6 +180,7 @@ as_mysql() method and registering the subclass over the original class::
|
|||
Field.register_lookup(MySQLNotExact)
|
||||
|
||||
The alternate is to monkey-patch the existing class in place::
|
||||
|
||||
def as_mysql(self, qn, connection):
|
||||
lhs, lhs_params = self.process_lhs(qn, connection)
|
||||
rhs, rhs_params = self.process_rhs(qn, connection)
|
||||
|
|
|
@ -13,3 +13,4 @@ Model API reference. For introductory material, see :doc:`/topics/db/models`.
|
|||
instances
|
||||
querysets
|
||||
queries
|
||||
custom_lookups
|
||||
|
|
Loading…
Reference in New Issue