Conditions | 1 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | from django.core.management.base import BaseCommand, CommandError |
||
34 | def add_arguments(self, parser): |
||
35 | parser.add_argument('auth', type=str, |
||
36 | help='authentication in the form user:password') |
||
37 | parser.add_argument('--host', type=str, |
||
38 | help='server to pull from', |
||
39 | default='http://127.0.0.1:8000/api/') |
||
40 | parser.add_argument('--filename', type=str, |
||
41 | default="data/download.json") |