mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-09 22:38:19 +02:00
Fixed bug in mailbox_name argument and added unit tests
This is an optional positional argument, and thus needs to have nargs='?' set
This commit is contained in:
parent
7b536046a9
commit
e151006582
2 changed files with 55 additions and 0 deletions
|
|
@ -21,6 +21,7 @@ class Command(BaseCommand):
|
|||
def add_arguments(self, parser):
|
||||
parser.add_argument(
|
||||
'mailbox_name',
|
||||
nargs='?',
|
||||
help="The name of the mailbox that will receive the message"
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue