app/django/core/management/commands/sqlinitialdata.py
author Pawel Solyga <Pawel.Solyga@gmail.com>
Fri, 25 Sep 2009 08:43:25 +0200
changeset 2974 93ec6da82bc5
parent 54 03e267d67478
permissions -rw-r--r--
Fix whitespace in pylint disable-msg comment in soc.views.models.student_project module.

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