Skip to content
Snippets Groups Projects
Commit 5ce243b5 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Merge branch 'default-current' into 'master'

Let management command default to current

See merge request AlekSIS/official/AlekSIS-App-Untis!124
parents 97f3c2da f517f0dc
No related branches found
No related tags found
No related merge requests found
......@@ -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