mirror of https://github.com/django/django.git
Tweaked the caching docs to be consistent about the format for database caches
(and fixed a formatting error). git-svn-id: http://code.djangoproject.com/svn/django/trunk@6588 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
bab4fdc9fd
commit
0a4e4d5993
|
@ -119,8 +119,8 @@ in your database that is in the proper format that Django's database-cache
|
|||
system expects.
|
||||
|
||||
Once you've created that database table, set your ``CACHE_BACKEND`` setting to
|
||||
``"db://tablename/"``, where ``tablename`` is the name of the database table.
|
||||
In this example, the cache table's name is ``my_cache_table``:
|
||||
``"db://tablename"``, where ``tablename`` is the name of the database table.
|
||||
In this example, the cache table's name is ``my_cache_table``::
|
||||
|
||||
CACHE_BACKEND = 'db://my_cache_table'
|
||||
|
||||
|
|
Loading…
Reference in New Issue