summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2017-04-01 17:03:56 -0700
committerTim Graham <timograham@gmail.com>2017-04-01 20:03:56 -0400
commit7bbb5161eaad6771676281c5c544030cf9ff1312 (patch)
tree1c24314c1af0cc0c2503909f78e5beaa363921c4 /docs
parent1aa8e8605cca95b31eaf6f5e47bc0742d6f2e0c7 (diff)
Removed implicit default store_true/false argparse args.
argparse automatically sets the default value for store_true/false arguments to its opposite.
Diffstat (limited to 'docs')
-rw-r--r--docs/howto/custom-management-commands.txt1
1 files changed, 0 insertions, 1 deletions
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',
)