summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2013-01-05 23:43:01 +0100
committerClaude Paroz <claude@2xlibre.net>2013-10-14 13:24:40 +0200
commit1e8eadc94e3b27fe90ce9356b48e8543a1ff590e (patch)
treedf7145ba7fa8205a37b8827c67ab194d2c708aba /docs/ref
parentb600bb7e08a884cd07838530c0a0c9de830e5c29 (diff)
Fixed #15888 -- Made tablename argument of createcachetable optional
Thanks Aymeric Augustin for the report and the documentation and Tim Graham for the review.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/django-admin.txt11
1 files changed, 9 insertions, 2 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index 39cbbc8dd5..9626606c01 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -131,12 +131,19 @@ createcachetable
.. django-admin:: createcachetable
-Creates a cache table named ``tablename`` for use with the database cache
-backend. See :doc:`/topics/cache` for more information.
+Creates the cache tables for use with the database cache backend. See
+:doc:`/topics/cache` for more information.
The :djadminopt:`--database` option can be used to specify the database
onto which the cachetable will be installed.
+.. versionchanged:: 1.7
+
+ It is no longer necessary to provide the cache table name or the
+ :djadminopt:`--database` option. Django takes this information from your
+ settings file. If you have configured multiple caches or multiple databases,
+ all cache tables are created.
+
dbshell
-------