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

11 lines
243 B
Python
Raw Normal View History

2023-07-09 07:51:51 +00:00
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())