app/django/core/management/commands/sqlinitialdata.py
author Sverre Rabbelier <srabbelier@gmail.com>
Sat, 14 Feb 2009 15:15:38 +0000
changeset 1312 9b253b8e4d40
parent 54 03e267d67478
permissions -rw-r--r--
Fix a bug in group_app If context is not set, kwargs['context'] will raise an exception. Patch by: Sverre Rabbelier

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