def section(request, section_path=None, id_override=None):
    try:
        section = get_current_section()
    except MiddlewareNotUsed:
        lookup_from = id_override or request
        section = lookup_section(lookup_from)
    if section:
        return render_to_response("scaffold/section.html", {'section': section}, context_instance=RequestContext(request))
    else:
        app_cache = AppCache()
        try:
            app_cache.get_app('flatpages')
            try:
                return flatpage(request, request.path_info)
            except Http404:
                pass
        except ImproperlyConfigured:
            pass
        raise Http404, "Section does not exist."
Register myself to be indexed at the end of the request.
dataset/ETHPy150Open mazelife/django-scaffold/scaffold/views.py/section--crossover with--dataset/ETHPy150Open mozilla/kitsune/kitsune/search/models.py/SearchMixin.index_later