Print appropriate message

This commit is contained in:
PCoder 2019-12-14 10:56:14 +05:30
parent 991908c37e
commit 7442cbd9ca

View file

@ -35,4 +35,7 @@ class Command(BaseCommand):
all_customers_set.add(order.customer.user.email)
for cu in all_customers_set:
print(cu)
print("Total customers = %s" % len(all_customers_set))
if all_registered:
print("All registered users = %s" % len(all_customers_set))
else:
print("Total active customers = %s" % len(all_customers_set))