'Override method to pass more context data in the template.'

def get_context_data(self, **kwargs):

    context_data = super(PhonebookSearchView, self).get_context_data(**kwargs)
    context_data['functional_areas'] = Group.get_functional_areas()
    context_data['show_pagination'] = context_data['is_paginated']
    context_data['search_form'] = context_data['form']
    context_data['country'] = self.kwargs.get('country')
    context_data['region'] = self.kwargs.get('region')
    context_data['city'] = self.kwargs.get('city')
    return context_data
