added create nsi button in netslice template list
[osm/LW-UI.git] / projecthandler / management / commands / new_project_type.py
1 from django.core.management.base import BaseCommand, CommandError
2
3
4 class Command(BaseCommand):
5 help = 'Create a new project type'
6
7 def handle(self, *args, **options):
8
9 try:
10 print 'new project type'
11 except Exception:
12 raise CommandError('Error unable to create a new project type')
13
14 self.stdout.write(self.style.SUCCESS('New project type successfully created'))