'Retrieve context data for the template.'

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

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