From a168e5616c85dfd658f20ffbb69a3872c2029dd3 Mon Sep 17 00:00:00 2001 From: rsiemens Date: Sun, 27 Jan 2019 11:35:17 -0800 Subject: Fixed #29973 -- Added compilemessages --ignore option. --- docs/ref/django-admin.txt | 11 +++++++++++ docs/releases/3.0.txt | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 5a4ce33c56..ba8c5cadba 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -173,6 +173,17 @@ Example usage:: django-admin compilemessages -x pt_BR django-admin compilemessages -x pt_BR -x fr +.. django-admin-option:: --ignore PATTERN, -i PATTERN + +.. versionadded:: 3.0 + +Ignores directories matching the given :mod:`glob`-style pattern. Use +multiple times to ignore more. + +Example usage:: + + django-admin compilemessages --ignore=cache --ignore=outdated/*/locale + ``createcachetable`` -------------------- diff --git a/docs/releases/3.0.txt b/docs/releases/3.0.txt index 3c75c14d88..bf5733ed52 100644 --- a/docs/releases/3.0.txt +++ b/docs/releases/3.0.txt @@ -150,7 +150,8 @@ Internationalization Management Commands ~~~~~~~~~~~~~~~~~~~ -* ... +* The new :option:`compilemessages --ignore` option allows ignoring specific + directories when searching for ``.po`` files to compile. Migrations ~~~~~~~~~~ -- cgit v1.3