1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

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

@@ -189,6 +189,13 @@ The :djadminopt:`--database` option can be used to specify the database
onto which the cache table will be installed, but since this information is
pulled from your settings by default, it's typically not needed.
The :djadminopt:`--dry-run` option will print the SQL that would be run without
actually running it, so you can customize it or use the migrations framework.
.. versionchanged:: 1.9
The ``--dry-run`` option was added.
dbshell
-------