mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Removed implicit default store_true/false argparse args.
argparse automatically sets the default value for store_true/false arguments to its opposite.
This commit is contained in:
parent
1aa8e8605c
commit
7bbb5161ea
25 changed files with 55 additions and 70 deletions
|
@ -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',
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue