Merge pull request #1094 from nicoddemus/cache-fixture-docstring-fix
fix docstring for cache fixture regarding ``/`` on keys
This commit is contained in:
commit
dc9ad12182
|
@ -192,8 +192,8 @@ def cache(request):
|
||||||
cache.get(key, default)
|
cache.get(key, default)
|
||||||
cache.set(key, value)
|
cache.set(key, value)
|
||||||
|
|
||||||
Keys must be strings not containing a "/" separator. Add a unique identifier
|
Keys must be a ``/`` separated value, where the first part is usually the
|
||||||
(such as plugin/app name) to avoid clashes with other cache users.
|
name of your plugin or application to avoid clashes with other cache users.
|
||||||
|
|
||||||
Values can be any object handled by the json stdlib module.
|
Values can be any object handled by the json stdlib module.
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue