From 89ee4960c27727d867c7d0e7fdc84f35741696d3 Mon Sep 17 00:00:00 2001 From: SDE Date: Fri, 20 Oct 2023 21:43:43 +0300 Subject: [PATCH] 0.7.62 user_subscribe in all views --- SubscribesApp/funcs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SubscribesApp/funcs.py b/SubscribesApp/funcs.py index b0c2a85..d00adda 100644 --- a/SubscribesApp/funcs.py +++ b/SubscribesApp/funcs.py @@ -5,7 +5,7 @@ def get_cur_user_subscribe(user): user_subscribe = None try: - user_subscribe = SubscribeForUser.objects.get(user) + user_subscribe = SubscribeForUser.objects.get(user=user) except Exception as e: pass