#31035: Promote BaseCommand.run_from_argv to a documented method
-------------------------------+--------------------------------------
Reporter: Roman Odaisky | Owner: nobody
Type: New feature | Status: closed
Component: Documentation | Version: master
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
-------------------------------+--------------------------------------
Comment (by Carlton Gibson):
> Maybe another overridable method should be introduced between
run_from_argv() and handle()?
Yes... what's needed I guess is a way to tell the parser to use
[https://docs.python.org/3.8/library/argparse.html#argparse.ArgumentParser.parse_known_args
`parse_known_args()`]
(a `self.parse_args()` hook I suppose).
Is this something you'd want to work on?
--
Ticket URL: <https://code.djangoproject.com/ticket/31035#comment:3>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.aca6132fadfd96a1737b1b7c8d565ae4%40djangoproject.com.