~ubuntu-branches/ubuntu/quantal/python-django/quantal

« back to all changes in this revision

Viewing changes to django/core/management/commands/sqlinitialdata.py

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant, Eddy Mulyono
  • Date: 2008-09-16 12:18:47 UTC
  • mfrom: (1.1.5 upstream) (4.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080916121847-mg225rg5mnsdqzr0
Tags: 1.0-1ubuntu1
* Merge from Debian (LP: #264191), remaining changes:
  - Run test suite on build.

[Eddy Mulyono]
* Update patch to workaround network test case failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from django.core.management.base import AppCommand, CommandError
 
2
 
 
3
class Command(AppCommand):
 
4
    help = "RENAMED: see 'sqlcustom'"
 
5
 
 
6
    def handle(self, *apps, **options):
 
7
        raise CommandError("This command has been renamed. Use the 'sqlcustom' command instead.")