"""
Management command to make sure the permissions exist
for all kinds of proposals.
"""
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()

"""
Management command to make sure the permissions exist
for all kinds of proposals.
"""
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
