diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/cache.txt | 10 | ||||
| -rw-r--r-- | docs/django-admin.txt | 8 |
2 files changed, 18 insertions, 0 deletions
diff --git a/docs/cache.txt b/docs/cache.txt index 9f50e45511..ff1c406f7c 100644 --- a/docs/cache.txt +++ b/docs/cache.txt @@ -29,10 +29,20 @@ Examples: memcached://127.0.0.1:11211/ A memcached backend; the server is running on localhost port 11211. + db://tablename/ A database backend in a table named + "tablename". This table should be created + with "django-admin createcachetable". + + file:///var/tmp/django_cache/ A file-based cache stored in the directory + /var/tmp/django_cache/. + simple:/// A simple single-process memory cache; you probably don't want to use this except for testing. Note that this cache backend is NOT threadsafe! + + locmem:/// A more sophisticaed local memory cache; + this is multi-process- and thread-safe. ============================== =========================================== All caches may take arguments -- they're given in query-string style. Valid diff --git a/docs/django-admin.txt b/docs/django-admin.txt index 3f428161e0..b4b07f4f12 100644 --- a/docs/django-admin.txt +++ b/docs/django-admin.txt @@ -40,6 +40,14 @@ your admin's index page. See `Tutorial 2`_ for more information. .. _Tutorial 2: http://www.djangoproject.com/documentation/tutorial2/ +createcachetable [tablename] +---------------------------- + +Creates a cache table named ``tablename`` for use with the database cache +backend. See the `cache documentation`_ for more information. + +.. _cache documentation: http://www.djangoproject.com/documentation/cache/ + createsuperuser --------------- |
