Skip to content

Commit

Permalink
README: small fix for cat lovers [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
swistakm committed Jun 15, 2015
1 parent 15a9304 commit c8830ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ feed it with bunch of field and search terms to see how it works:
<Q: type:animal AND species:dog>

>>> # ohh, forgot about cats?
>>> query & Q(type="animal", species="dog")
<Q: (type:animal AND species:dog) AND (type:animal AND species:dog)>
>>> query & Q(type="animal", species="cat")
<Q: (type:animal AND species:dog) AND (type:animal AND species:cat)>

>>># more a cat lover? Let's give them a boost boost
>>> Q(type="animal") & (Q(species="cat")^2 | Q(species="dog"))
Expand Down Expand Up @@ -151,7 +151,7 @@ their history rewritten just drives me crazy.

Tests are run using tox. Simply install it and run:

pip install
pip install tox
tox

And that's all.
Expand Down

0 comments on commit c8830ad

Please sign in to comment.