app/django/core/management/commands/sqlinitialdata.py
author Sverre Rabbelier <srabbelier@gmail.com>
Mon, 07 Sep 2009 20:02:35 +0200
changeset 2875 abb1e88f9853
parent 54 03e267d67478
permissions -rw-r--r--
Add a getHostname to system It is better to abstract how we retrieve the hostname than to access it directly (see also getAppVersion).

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