'Retrieve context data for the template.'

def get_context_data(self, catalog, form, client):

    return {'catalog': catalog, 'form': form, 'preview_url': reverse('api_admin:catalog-preview'), 'catalog_api_url': client.courses.url(), 'catalog_api_catalog_endpoint': client.catalogs.url().rstrip('/')}
