Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Using CacheLib as a session backend

.. note::

FileSystemSession was recently deprecated in favor of CacheLib, which is what is was using under the hood.
FileSystemSession was recently deprecated in favor of CacheLib, which is what it was using under the hood.

The following example demonstrates how to use CacheLib as a session backend with the file system cache. This might be useful for rapid development or testing.

Expand All @@ -86,4 +86,4 @@ The following example demonstrates how to use CacheLib as a session backend with
SESSION_SERIALIZATION_FORMAT = 'json'
SESSION_CACHELIB = FileSystemCache(threshold=500, cache_dir="/sessions"),
app.config.from_object(__name__)
Session(app)
Session(app)