diff --git a/GeneralApp/funcs.py b/GeneralApp/funcs.py index 80f6a38..fd453d1 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.footer(enable=True, opt_type='footer_contacts') + options = Option.objects.filter(enable=True, opt_type='footer_contacts') return options