Fixed #24560 -- Added a --dry-run mode to the createcachetable command.

This commit is contained in:
Adam Chainz 2015-04-01 22:33:27 +01:00 committed by Tim Graham
parent 727e40c879
commit 5564d0f2ee
5 changed files with 40 additions and 4 deletions

View file

@ -206,6 +206,9 @@ If you are using multiple databases, :djadmin:`createcachetable` observes the
Like :djadmin:`migrate`, :djadmin:`createcachetable` won't touch an existing
table. It will only create missing tables.
To print the SQL that would be run, rather than run it, use the
:djadminopt:`--dry-run` option.
Multiple databases
~~~~~~~~~~~~~~~~~~