#23306: Cannot call a command with --name option
-------------------------------------+-------------------------------------
Reporter: rsalmaso | Owner: nobody
Type: Uncategorized | Status: closed
Component: Core (Management | Version:
commands) | Resolution:
Severity: Normal | worksforme
Keywords: | Triage Stage:
Has patch: 0 | Unreviewed
Needs tests: 0 | Needs documentation: 0
Easy pickings: 0 | Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by claudep):
* status: new => closed
* resolution: => worksforme
Comment:
This is not true for current master (see [2cc8ffe2580080]) where you
should now be able to call `call_command('my_cmd', '--name',
'my_fancy_name')` (https://docs.djangoproject.com/en/dev/ref/django-admin
/#call-command).
In 1.7 though, I'd suggest using a temporary workaround by "manually"
instanciating the command and calling `execute`. Feel free to request more
help if this is not clear for you.
--
Ticket URL: <https://code.djangoproject.com/ticket/23306#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.cd89b7aa01ae01e68d98ef0045c9c0c6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.