1 from django
.core
.management
.base
import BaseCommand
, CommandError
4 class Command(BaseCommand
):
5 help = 'Delete a project type'
7 def handle(self
, *args
, **options
):
10 print 'delete project type'
12 raise CommandError('Error unable to delete a new project type')
14 self
.stdout
.write(self
.style
.SUCCESS('Project type successfully deleted'))