0.4.29 footer contacts

This commit is contained in:
SDE
2023-12-22 17:57:38 +05:00
parent e9c659276a
commit 3bd389ae02

View File

@@ -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