Skip to content

Commit

Permalink
Fix line-lenght
Browse files Browse the repository at this point in the history
  • Loading branch information
daGrevis committed Nov 23, 2013
1 parent 4eaab7a commit b139bfe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/usage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ Filters take a ``lookup_type`` argument which specifies what lookup type to
use with Django's ORM. So here when a user entered a price it would show all
Products with a price less than that.

**It's quite common to forget to set lookup type for `CharField`s/`TextField`s and wonder why search for "foo" doesn't return result for "foobar". It's because default lookup type is exact text, but you probably want `icontains` lookup field.**
**It's quite common to forget to set lookup type for `CharField`s/`TextField`s
and wonder why search for "foo" doesn't return result for "foobar". It's because
default lookup type is exact text, but you probably want `icontains` lookup
field.**

Items in the ``fields`` sequence in the ``Meta`` class may include
"relationship paths" using Django's ``__`` syntax to filter on fields on a
Expand Down

0 comments on commit b139bfe

Please sign in to comment.