Removed confusing comments from the docs.

The settings reference documentation doesn't seem the right place to
invite users to write their own db and cache backends.

Also the actual wording makes the task sound trivial, which is hardly
the case; writing a custom db backend is a very difficult task, and
writing a custom cache backend is full of gotcha.
This commit is contained in:
Loic Bistuer 2013-11-25 00:07:52 +07:00 committed by Baptiste Mispelon
parent 19e5cd77f0
commit 2a0ae9b9ec
1 changed files with 1 additions and 5 deletions

View File

@ -183,8 +183,6 @@ The cache backend to use. The built-in cache backends are:
You can use a cache backend that doesn't ship with Django by setting You can use a cache backend that doesn't ship with Django by setting
:setting:`BACKEND <CACHES-BACKEND>` to a fully-qualified path of a cache :setting:`BACKEND <CACHES-BACKEND>` to a fully-qualified path of a cache
backend class (i.e. ``mypackage.backends.whatever.WhateverCache``). backend class (i.e. ``mypackage.backends.whatever.WhateverCache``).
Writing a whole new cache backend from scratch is left as an exercise
to the reader; see the other backends for examples.
.. setting:: CACHES-KEY_FUNCTION .. setting:: CACHES-KEY_FUNCTION
@ -486,9 +484,7 @@ The database backend to use. The built-in database backends are:
You can use a database backend that doesn't ship with Django by setting You can use a database backend that doesn't ship with Django by setting
``ENGINE`` to a fully-qualified path (i.e. ``ENGINE`` to a fully-qualified path (i.e.
``mypackage.backends.whatever``). Writing a whole new database backend from ``mypackage.backends.whatever``).
scratch is left as an exercise to the reader; see the other backends for
examples.
.. setting:: HOST .. setting:: HOST