app/django/core/management/commands/sqlinitialdata.py
author Todd Larsen <tlarsen@google.com>
Sun, 23 Nov 2008 06:34:22 +0000
changeset 577 e7cb5819f7e9
parent 54 03e267d67478
permissions -rw-r--r--
Provide a simple method in the Role Model class that aliases the existing 'display_name' Property to 'name'. Patch by: Todd Larsen

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