From 7bbb5161eaad6771676281c5c544030cf9ff1312 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Sat, 1 Apr 2017 17:03:56 -0700 Subject: Removed implicit default store_true/false argparse args. argparse automatically sets the default value for store_true/false arguments to its opposite. --- docs/howto/custom-management-commands.txt | 1 - 1 file changed, 1 deletion(-) (limited to 'docs') diff --git a/docs/howto/custom-management-commands.txt b/docs/howto/custom-management-commands.txt index d7cd14663e..453896b29a 100644 --- a/docs/howto/custom-management-commands.txt +++ b/docs/howto/custom-management-commands.txt @@ -106,7 +106,6 @@ options can be added in the :meth:`~BaseCommand.add_arguments` method like this: '--delete', action='store_true', dest='delete', - default=False, help='Delete poll instead of closing it', ) -- cgit v1.3