def get(self, request): return JsonResponse({ 'current': utils.get_version(), 'latest': utils.get_latest_version(), })
def handle(self, *args, **options): print("Current version: %s" % (get_version())) print("Latest version: %s" % (get_latest_version()))
def handle(self, *args, **options): print "Current version: %s" % (get_version()) print "Latest version: %s" % (get_lastest_version())