django-orchestra/orchestra/management/commands/orchestraversion.py
Santiago L bcfed9cb79 Use BaseCommand on orchestraversion
class NoArgsCommand has been removed on Django 1.10
2021-06-22 14:11:06 +02:00

11 lines
243 B
Python

from django.core.management.base import BaseCommand
from orchestra import get_version
class Command(BaseCommand):
help = 'Shows django-orchestra version'
def handle(self, *args, **options):
self.stdout.write(get_version())