mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
[1.8.x] Fixed typo in django/core/cache/backends/base.py docstring.
Backport of 8615e415861ea93afb5a84365895bd7b9af7be6f from master
This commit is contained in:
parent
e3bdbac733
commit
688f8de7b6
2
django/core/cache/backends/base.py
vendored
2
django/core/cache/backends/base.py
vendored
@ -91,7 +91,7 @@ class BaseCache(object):
|
|||||||
def make_key(self, key, version=None):
|
def make_key(self, key, version=None):
|
||||||
"""Constructs the key used by all other methods. By default it
|
"""Constructs the key used by all other methods. By default it
|
||||||
uses the key_func to generate a key (which, by default,
|
uses the key_func to generate a key (which, by default,
|
||||||
prepends the `key_prefix' and 'version'). An different key
|
prepends the `key_prefix' and 'version'). A different key
|
||||||
function can be provided at the time of cache construction;
|
function can be provided at the time of cache construction;
|
||||||
alternatively, you can subclass the cache backend to provide
|
alternatively, you can subclass the cache backend to provide
|
||||||
custom key making behavior.
|
custom key making behavior.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user