Commit 2098cd2
Fix update_warehouse command to use --start-date and --end-date options
The command was using *args to read positional arguments, but modern
Django passes arguments via **options, so dates were always None.
Switched to named options which also allows passing --end-date without
--start-date.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 3d84a79 commit 2098cd2
File tree
1 file changed
+14
-4
lines changed- ex-submodules/django-datawarehouse/warehouse/management/commands
1 file changed
+14
-4
lines changedLines changed: 14 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | 10 | | |
13 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
14 | 24 | | |
15 | 25 | | |
16 | 26 | | |
| |||
20 | 30 | | |
21 | 31 | | |
22 | 32 | | |
23 | | - | |
24 | | - | |
| 33 | + | |
| 34 | + | |
25 | 35 | | |
26 | 36 | | |
0 commit comments