summaryrefslogtreecommitdiff
path: root/tests/admin_scripts/simple_app/management
diff options
context:
space:
mode:
Diffstat (limited to 'tests/admin_scripts/simple_app/management')
-rw-r--r--tests/admin_scripts/simple_app/management/commands/duplicate.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/admin_scripts/simple_app/management/commands/duplicate.py b/tests/admin_scripts/simple_app/management/commands/duplicate.py
index a451f3991c..18cd0aab08 100644
--- a/tests/admin_scripts/simple_app/management/commands/duplicate.py
+++ b/tests/admin_scripts/simple_app/management/commands/duplicate.py
@@ -1,7 +1,7 @@
-from django.core.management.base import NoArgsCommand
+from django.core.management.base import BaseCommand
-class Command(NoArgsCommand):
+class Command(BaseCommand):
- def handle_noargs(self, **options):
+ def handle(self, **options):
self.stdout.write('simple_app')