From 328cd9bdc519edad4ffccf7369d99f214af6d858 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Wed, 3 Jul 2019 14:32:07 +0200 Subject: [PATCH] Use shell_plus in shell_scoped --- src/pretix/base/management/commands/shell_scoped.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pretix/base/management/commands/shell_scoped.py b/src/pretix/base/management/commands/shell_scoped.py index 8a1c2e524..28412c45a 100644 --- a/src/pretix/base/management/commands/shell_scoped.py +++ b/src/pretix/base/management/commands/shell_scoped.py @@ -17,7 +17,7 @@ class Command(BaseCommand): flags = parser.parse_known_args(sys.argv[2:])[1] if "--override" in flags: with scopes_disabled(): - return call_command("shell", *args, **options) + return call_command("shell_plus", *args, **options) lookups = {} for flag in flags: @@ -36,4 +36,4 @@ class Command(BaseCommand): for app_name, app_value in lookups.items() } with scope(**scope_options): - return call_command("shell", *args, **options) + return call_command("shell_plus", *args, **options)