app/django/core/management/commands/sqlinitialdata.py
author Lennard de Rijk <ljvderijk@gmail.com>
Fri, 20 Mar 2009 18:53:37 +0000
changeset 1955 06ed84dbb1ed
parent 54 03e267d67478
permissions -rw-r--r--
Moved canResign check to role logic so subclasses can override. Also changed the variable name in the templates to be more generic. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed

from django.core.management.base import AppCommand, CommandError

class Command(AppCommand):
    help = "RENAMED: see 'sqlcustom'"

    def handle(self, *apps, **options):
        raise CommandError("This command has been renamed. Use the 'sqlcustom' command instead.")