add missing logging

This commit is contained in:
PCoder 2023-12-25 11:43:29 +05:30
parent e3b816d8d7
commit ea4ff961c2
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
from django.core.management.base import BaseCommand from django.core.management.base import BaseCommand
import datetime import datetime
import csv import csv
import logging
import stripe import stripe
from hosting.models import VATRates from hosting.models import VATRates
from utils.hosting_utils import get_vat_rate_for_country from utils.hosting_utils import get_vat_rate_for_country
@ -8,6 +9,7 @@ from django.conf import settings
stripe.api_key = settings.STRIPE_API_PRIVATE_KEY stripe.api_key = settings.STRIPE_API_PRIVATE_KEY
logger = logging.getLogger(__name__)
class Command(BaseCommand): class Command(BaseCommand):
help = '''CH vat rate changes on 2024-01-01 from 7.7% to 8.1%. This commands makes the necessary changes''' help = '''CH vat rate changes on 2024-01-01 from 7.7% to 8.1%. This commands makes the necessary changes'''