app/django/core/management/commands/sqlinitialdata.py
author Todd Larsen <tlarsen@google.com>
Wed, 24 Sep 2008 05:58:45 +0000
changeset 199 14ede160ef16
parent 54 03e267d67478
permissions -rw-r--r--
Minor tweaks to Site menu item names to make them more descriptive.

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