Opened 10 years ago
Closed 10 years ago
#23309 closed Bug (fixed)
call_commands lacks some code to act like as run_from_argv
Reported by: | Raffaele Salmaso | Owned by: | nobody |
---|---|---|---|
Component: | Core (Management commands) | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | raffaele.salmaso@… | Triage Stage: | Accepted |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
https://code.djangoproject.com/changeset/2cc8ffe2580080 made call_command accept option name parameter, but lacks the legagy optparse hack as found in django/core/management/base.py:352-357
Change History (5)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Has patch: | set |
---|---|
Triage Stage: | Unreviewed → Accepted |
Type: | Uncategorized → Bug |
comment:4 by , 10 years ago
Summary: | call_commands laks some code to act like as run_from_argv → call_commands lacks some code to act like as run_from_argv |
---|
comment:5 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I've made a PR https://github.com/django/django/pull/3081
Added missing code and some tests.