From 3bd389ae023e92e767c8043edd87c6475fd0a5af Mon Sep 17 00:00:00 2001 From: SDE Date: Fri, 22 Dec 2023 17:57:38 +0500 Subject: [PATCH] 0.4.29 footer contacts --- GeneralApp/funcs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GeneralApp/funcs.py b/GeneralApp/funcs.py index fd453d1..8a8ebd3 100644 --- a/GeneralApp/funcs.py +++ b/GeneralApp/funcs.py @@ -8,7 +8,7 @@ def get_logo_url(): def get_footer_contacts(): from .models import Option - options = Option.objects.filter(enable=True, opt_type='footer_contacts') + options = Option.objects.filter(enable=True, opt_type__in=['footer_email', 'footer_phone']) return options