Management commands migration to argparse
|Reported by:||José Luis Patiño Andrés||Owned by:||José Luis Patiño Andrés|
|Component:||Core (Management commands)||Version:||master|
|Severity:||Normal||Keywords:||optparse, argparse, basecommand|
|Cc:||hans@…||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
BaseCommand, from which developers subclass their own management commands, is using the `optparse` module, which is actually deprecated.
If there are no important reasons to remain using the deprecated module, perhaps would be a good idea to port the
BaseCommand code to the new module `argparse`, which will be used in Python 3.
Change History (20)
comment:3 Changed 4 years ago by
|Owner:||changed from nobody to José Luis Patiño Andrés|
|Status:||new → assigned|