From 563a4fde3cf083d94add2b6b4233934196048371 Mon Sep 17 00:00:00 2001 From: SDE Date: Fri, 10 May 2024 13:55:49 +0300 Subject: [PATCH] 1.0.11 subscribe buy routines --- SubscribesApp/funcs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SubscribesApp/funcs.py b/SubscribesApp/funcs.py index c18fe4c..72f7770 100644 --- a/SubscribesApp/funcs.py +++ b/SubscribesApp/funcs.py @@ -44,7 +44,7 @@ def check_n_enable_subscribe_by_order(order): order.subscribe_for_user = subscribe_for_user order.save() - SubscribeForUser.objects.filter(user=order.user).exclude(id=subscribes_for_user.id).update(enable=False) + SubscribeForUser.objects.filter(user=order.user).exclude(id=subscribe_for_user.id).update(enable=False) subscribes_for_user = [subscribe_for_user]