I was just looking at custom management commands (Django 3.2) and noted
that the error handling for a subparser didn't match the Django behaviour
without some extra, undocumented work.
If my Command subclass implements the following:
def add_arguments(self, parser):
subparsers = pa
h to subparsers by changing CommandParser.
> I filed a ticket and a PR:
> https://code.djangoproject.com/ticket/34259#ticket
>
> Thanks,
>
> Adam
>
> On Wed, Jan 11, 2023 at 2:02 AM Mark Gregson wrote:
>
>> I was just looking at custom management commands (Djan