From 4099f1a422b6e154c4bd3619112a95d600c456eb Mon Sep 17 00:00:00 2001 From: Marc Aymerich Date: Mon, 11 Jan 2016 10:27:03 +0000 Subject: [PATCH] Added orchestrastatus management command --- orchestra/management/commands/orchestrastatus.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/orchestra/management/commands/orchestrastatus.py b/orchestra/management/commands/orchestrastatus.py index 8bb9284e..741981e2 100644 --- a/orchestra/management/commands/orchestrastatus.py +++ b/orchestra/management/commands/orchestrastatus.py @@ -4,7 +4,7 @@ from django.conf import settings as djsettings from django.core.management.base import BaseCommand from django.db import connections -from orchestra import settings +from orchestra import settings, get_version from orchestra.utils import paths from orchestra.utils.sys import run @@ -27,6 +27,7 @@ class Command(BaseCommand): banner = "%(project_name)s status" % context self.stdout.write(banner) self.stdout.write('-'*len(banner)) + self.stdout.write(' Orchestra version: ' + get_version()) if djsettings.DEBUG: self.stdout.write(" debug enabled") else: