Skip to content

Commit

Permalink
version 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbe committed Jan 27, 2022
1 parent 8ae3aac commit 393f367
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,14 @@ Note: Since ``find_urls()`` returns a generator, the purging won't
happen unless you exhaust the generator. E.g. looping over it or
turning it into a list.

> :warning: **If you are using Memcached, you must
> :warning: **If you are using Memcached, you must
> enable check-and-set to remember all urls**
> by enabling the `FANCY_USE_MEMCACHED_CHECK_AND_SET`
> flag and enabling `cas` in your `CACHES` settings:

.. code:: python
# in settings.py
FANCY_USE_MEMCACHED_CHECK_AND_SET = True
CACHES = {
Expand All @@ -134,7 +134,7 @@ turning it into a list.
'LOCATION': '127.0.0.1:11211',
# This OPTIONS setting enables Memcached check-and-set which is
# required for remember_all_urls or FANCY_REMEMBER_ALL_URLS.
'OPTIONS': {
'OPTIONS': {
'behaviors': {
'cas': True
}
Expand Down Expand Up @@ -224,6 +224,11 @@ Changelog

(Sorry, been poor in maintaining this. Let's get it right from now)

1.1.0
* If you use Memcached you can set
``settings.FANCY_USE_MEMCACHED_CHECK_AND_SET = True`` so that you
can use ``cache._cache.cas`` which only workd with Memcached.

1.0.0
* Drop support for Python <3.5 and Django <2.2.0

Expand Down
2 changes: 1 addition & 1 deletion fancy_cache/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from .cache_page import cache_page # NOQA

__version__ = "1.00.0"
__version__ = "1.1.0"

0 comments on commit 393f367

Please sign in to comment.