app/django/core/management/commands/sqlinitialdata.py
author Lennard de Rijk <ljvderijk@gmail.com>
Thu, 13 Aug 2009 10:46:53 -0700
changeset 2768 97a1569b2743
parent 54 03e267d67478
permissions -rw-r--r--
Added methods that give the shipping information for a role entity. The shipping fields are only given when all the required address fields are set. Otherwise the residential fields are returned.

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