app/django/core/management/commands/sqlinitialdata.py
author Pawel Solyga <Pawel.Solyga@gmail.com>
Wed, 27 May 2009 20:37:04 +0200
changeset 2366 1a954e80d444
parent 54 03e267d67478
permissions -rw-r--r--
Style fixes and pylint: disable-msg comments in different modules.

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.")