app/django/core/management/commands/sqlinitialdata.py
author James Levy <jamesalexanderlevy@gmail.com>
Sun, 28 Jun 2009 13:13:58 +0200
changeset 2429 a0a1dd1cc69e
parent 54 03e267d67478
permissions -rw-r--r--
Added SurveyRecordModel. Lennard: On top of the orginial patch I've added several comments to the fields and two TODO's for further subclassing. Patch by: James Levy, Daniel Diniz, Lennard de Rijk Reviewed by: Lennard de Rijk

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