#27799: If 'args' is used on a custom LabelCommand or AppCommand subclass, only
the
last positional arg is supplied to the command
-------------------------------------+-------------------------------------
Reporter: Matthew Somerville | Owner: nobody
Type: Bug | Status: closed
Component: Core (Management | Version: 1.8
commands) |
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):
* status: new => closed
* resolution: => wontfix
* component: Uncategorized => Core (Management commands)
Comment:
As discussed in #django-dev, the correct solution for your use case seems
to be to use the `LabelCommand.label` attribute rather than `args`. This
is fixed in 1.10 with the removal of the `args` attribute.
Nearly 2 years after the release of 1.8 and with 1 year of support left, I
don't think it's critical to change in 1.8 at this point.
--
Ticket URL: <https://code.djangoproject.com/ticket/27799#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/064.55fc5a1defdd28c724c5f0915b3eaf82%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.