Created
September 23, 2015 12:35
-
-
Save fchevitarese/db207c862941abb007d6 to your computer and use it in GitHub Desktop.
comando.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.core.management.base import BaseCommand | |
from billing.tasks import check_balance_and_warn | |
class Command(BaseCommand): | |
help = "Check client's balance and send warnings to them" | |
def handle(self, *args, **options): | |
check_balance_and_warn() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment