Skip to content

Commit

Permalink
Fix some README grammar and typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Suor committed May 15, 2020
1 parent bde50ab commit 035e59c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ You can configure default profile setting with ``CACHEOPS_DEFAULTS``. This way y
}
Using ``'*.*'`` with non-empty ``ops`` is **not recommended**
since it will easily cache something you don't intent to or even now about like migrations tables.
since it will easily cache something you don't intent to or even know about like migrations tables.
The better approach will be restricting by app with ``'app_name.*'``.

Besides ``ops`` and ``timeout`` options you can also use:
Expand Down Expand Up @@ -166,14 +166,14 @@ It's automatic you just need to set it up.

| **Manual caching**
You can force any queryset to use cache by calling it's ``.cache()`` method:
You can force any queryset to use cache by calling its ``.cache()`` method:

.. code:: python
Article.objects.filter(tag=2).cache()
Here you can specify which ops should be cached for queryset, for example, this code:
Here you can specify which ops should be cached for the queryset, for example, this code:

.. code:: python
Expand Down

0 comments on commit 035e59c

Please sign in to comment.