[bootstrap user] remove syntax errors
This commit is contained in:
parent
55ba61e36b
commit
011096f152
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ class Command(BaseCommand):
|
|||
help = 'Bootstrap user (for testing)'
|
||||
|
||||
def add_arguments(self, parser):
|
||||
parser.add_argument('username', type=str)
|
||||
parser.add_argument('--username', type=str, required=True)
|
||||
|
||||
def handle(self, *args, **options):
|
||||
user = get_user_model().objects.get(username=options['username'])
|
||||
|
@ -35,6 +35,6 @@ class Command(BaseCommand):
|
|||
|
||||
# find any order that is associated to this bill
|
||||
orders = Order.objects.filter(owner=user)
|
||||
)
|
||||
|
||||
print(f"Addr: {addr}")
|
||||
print(f"Bill: {bill}")
|
||||
|
|
Loading…
Reference in a new issue