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

11 lines
243 B
Python
Raw Normal View History

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