from django.core.management.base import NoArgsCommand


class Command(NoArgsCommand):

    def handle_noargs(self, **options):
        from symposion.proposals.kinds import ensure_proposal_records

        ensure_proposal_records()

from django.core.management.base import BaseCommand


class Command(BaseCommand):

    def handle(self, *args, **options):
        from symposion.proposals.kinds import ensure_proposal_records

        ensure_proposal_records()

Use BaseCommand instead of NoArgsCommand
Use BaseCommand instead of NoArgsCommand

- 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, *args, **options):
          from symposion.proposals.kinds import ensure_proposal_records
  
          ensure_proposal_records()
  
Use BaseCommand instead of NoArgsCommand
## Code Before:
from django.core.management.base import NoArgsCommand


class Command(NoArgsCommand):

    def handle_noargs(self, **options):
        from symposion.proposals.kinds import ensure_proposal_records

        ensure_proposal_records()

## Instruction:
Use BaseCommand instead of NoArgsCommand
## Code After:
from django.core.management.base import BaseCommand


class Command(BaseCommand):

    def handle(self, *args, **options):
        from symposion.proposals.kinds import ensure_proposal_records

        ensure_proposal_records()
