flake8
passed.
JSHint
passed.
Review Request #13862 — Created May 16, 2024 and submitted
The clean-orphaned-data command had two bugs, one of which was bad.
- The query for orphaned change descriptions was picking up change
descriptions which were part of active drafts.- The help string was wrapped in
gettext_lazy, which was causing a
crash when trying to use --help because argparse doesn't understand a
django lazy object. Our other commands use regulargettextfor
those, so I've changed it here. Theinvalidate-api-tokenscommand
had the same problem.
manage.py clean-orphaned-data --helpclean-orphaned-data was no longer picking up any| Summary | ID |
|---|---|
| 29d0c1c2febacf52dd2694429dbd5f1ed7c05941 |