parameters: (request, props=None, page="", title="", desc="")
return_statement: return render_template(request, 'base.html', props, {
          "title":          title,
          "desc":           desc,
          "canonical_url":  canonical_url(request),
      })
docstring: View for any App page that can described with the `menuOpen` param in React
docstring_summary: View for any App page that can described with the `menuOpen` param in React
docstring_tokens: View for any App page that can described with the menuOpen param in React
function: def menu_page(request, props=None, page="", title="", desc=""):
      """
      View for any App page that can described with the `menuOpen` param in React
      """
      # Here we call props.update() and not a new dict because props are passed in from higher functions
      props = props if props else {}
      props.update({
          "initialMenu": page,
      })
      return render_template(request, 'base.html', props, {
          "title":          title,
          "desc":           desc,
          "canonical_url":  canonical_url(request),
      })
function_tokens: def menu_page ( request , props = None , page = "" , title = "" , desc = "" ) : # Here we call props.update() and not a new dict because props are passed in from higher functions props = props if props else { } props . update ( { "initialMenu" : page , } ) return render_template ( request , 'base.html' , props , { "title" : title , "desc" : desc , "canonical_url" : canonical_url ( request ) , } )