Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added docs to index

  • Loading branch information...
commit 4fba5dfaa022653ffa72497258ffd8f8b7476f92 1 parent 6d53963
@akaariai akaariai authored
Showing with 2 additions and 0 deletions.
  1. +1 −0  docs/ref/models/custom_lookups.txt
  2. +1 −0  docs/ref/models/index.txt
View
1  docs/ref/models/custom_lookups.txt
@@ -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)
View
1  docs/ref/models/index.txt
@@ -13,3 +13,4 @@ Model API reference. For introductory material, see :doc:`/topics/db/models`.
instances
querysets
queries
+ custom_lookups
Please sign in to comment.
Something went wrong with that request. Please try again.