django-orchestra-test/orchestra/management/commands/orchestraversion.py

11 lines
247 B
Python
Raw Permalink Normal View History

2014-05-08 16:59:35 +00:00
from django.core.management.base import NoArgsCommand
from orchestra import get_version
class Command(NoArgsCommand):
help = 'Shows django-orchestra version'
def handle_noargs(self, **options):
self.stdout.write(get_version())