Saroj Devkota

kathmandu, Pokhara and other Artist

5

Followers

#folk #modern #lok dohori

Biography

description of artist saroj devkota
@receiver(post_save, sender=Order)
def update_subscription_from_order(sender, instance, created, **kwargs):

if instance.status != "paid" or instance.is_processed:
return

try:
subscriber = Subscriber.objects.get(user=instance.user, is_active=True)
except Subscriber.DoesNotExist:
return

current_month = timezone.now().date().replace(day=1)

subscription, _ = Subscription.objects.get_or_create(
subscriber=subscriber,
billing_month=current_month,
defaults={
"total_price": 0,
"total_commission": 0
}
)

Upcoming Events

HF Assistant Always here to help
πŸ‘‹ Welcome to Himalayan Frequency! I'm your personal assistant. Ask me about events, artists, or anything else you'd like to know!