From fa77440749033e2822f01c0c74ddc84592fd16df Mon Sep 17 00:00:00 2001 From: Matt Westcott Date: Fri, 26 Jan 2018 15:12:47 +0000 Subject: [PATCH] Point to `wagtail help updatemodulepaths` for command line option info --- docs/releases/2.0.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/releases/2.0.rst b/docs/releases/2.0.rst index 916ce7f9c4..b1d92d98c4 100644 --- a/docs/releases/2.0.rst +++ b/docs/releases/2.0.rst @@ -141,6 +141,8 @@ Or, to run from a different location: $ wagtail updatemodulepaths /path/to/project --diff $ wagtail updatemodulepaths /path/to/project +For the full list of command line options, enter ``wagtail help updatemodulepaths``. + You are advised to take a backup of your project codebase before running this command. The command will perform a search-and-replace over all \*.py files for the affected module paths; while this should catch the vast majority of module references, it will not be able to fix instances that do not use the dotted path directly, such as ``from wagtail import wagtailcore``. The full list of modules to be renamed is as follows: