@register.assignment_tag(takes_context=True)
def get_contact_fields(context):
    try:
        contact_vals = ContactPage.objects.values(
            'name_organization', 'address_1',
            'address_2', 'city', 'country', 'telephone', 'post_code'
        )[0]
        return contact_vals

    except __HOLE__:
        return {}
dataset/ETHPy150Open chrisdev/wagtail-cookiecutter-foundation/{{cookiecutter.repo_name}}/utils/templatetags/{{cookiecutter.repo_name}}_utils.py/get_contact_fields