Opened 9 years ago
Closed 8 years ago
#27787 closed Cleanup/optimization (fixed)
call_command() should validate the arguments it receives
| Reported by: | Tim Graham | Owned by: | Chandrakant Kumar |
|---|---|---|---|
| Component: | Core (Management commands) | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
In #27769 it was observed that call_command() doesn't reject unknown options. In that case, noinput=True was passed rather than interactive=False. It would be nice if such errors didn't pass silently.
Change History (10)
comment:1 by , 9 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 9 years ago
| Has patch: | set |
|---|
comment:3 by , 9 years ago
| Needs tests: | set |
|---|
comment:5 by , 9 years ago
| Patch needs improvement: | set |
|---|
The patch is still not ready for review given tests aren't passing and release notes about possible backwards incompatibilities are missing.
comment:6 by , 9 years ago
| Patch needs improvement: | unset |
|---|
comment:7 by , 9 years ago
| Owner: | changed from to |
|---|
comment:9 by , 8 years ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
Note:
See TracTickets
for help on using tickets.
https://github.com/django/django/pull/7976