mirror of
https://github.com/django/django.git
synced 2025-07-23 05:05:17 +00:00
Fixed #22835 -- Deprecated NoArgsCommand.
This commit is contained in:
parent
63670a474c
commit
9996158db4
20 changed files with 94 additions and 69 deletions
|
@ -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('complex_app')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue