Skip to content
Snippets Groups Projects
Verified Commit f517f0dc authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Let management command default to current

parent 97f3c2da
No related branches found
No related tags found
1 merge request!124Let management command default to current
Pipeline #53938 passed
......@@ -9,6 +9,12 @@ and this project adheres to `Semantic Versioning`_.
Unreleased
----------
Changed
~~~~~~~
* Let untis_import_mysql management command default to ``current`` instead of all
to prevent accidental imports of old plans
Fixed
~~~~~
......
......@@ -6,7 +6,7 @@ from ...commands import COMMANDS_BY_NAME
class Command(BaseCommand):
def add_arguments(self, parser):
parser.add_argument(
"command", nargs="?", default="all", type=str, choices=list(COMMANDS_BY_NAME.keys())
"command", nargs="?", default="current", type=str, choices=list(COMMANDS_BY_NAME.keys())
)
parser.add_argument(
"--background",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment