Home
last modified time | relevance | path

Searched refs:uri_for (Results 1 – 7 of 7) sorted by relevance

/external/chromium-trace/catapult/third_party/webapp2/docs/api/
Dwebapp2.rst40 - :func:`uri_for`
120 abort, redirect, redirect_to, uri_for, handle_exception
141 .. autofunction:: uri_for
/external/chromium-trace/catapult/third_party/webapp2/docs/guide/
Drouting.rst338 This is done using the function :func:`webapp2.uri_for` or the method
339 :meth:`webapp2.RequestHandler.uri_for` inside a handler, or calling
354 uri = uri_for('home')
356 uri = uri_for('home', _full=True)
358 uri = uri_for('wiki')
360 uri = uri_for('wiki', _full=True)
362 uri = uri_for('wiki', _full=True, _fragment='my-heading')
364 uri = uri_for('wiki-page', page='my-first-page')
366 uri = uri_for('wiki-page', page='my-first-page', format='atom')
372 Also, when calling ``uri_for()``, a few keywords have special meaning:
/external/chromium-trace/catapult/third_party/webapp2/docs/
Dfeatures.rst218 hardcoding them in the code or templates. Simply use the ``uri_for()``
221 uri = uri_for('blog-archive', year='2010', month='07')
224 redirect_to = redirect + uri_for::
234 return handler.uri_for('view', item=kwargs.get('item'))
/external/chromium-trace/catapult/third_party/webapp2/tests/
Dhandler_test.py127 return handler.uri_for('methods')
402 for func in (handler.uri_for,):
471 uri = webapp2.uri_for('escape', name='with space')
478 uri = webapp2.uri_for('escape', name='with+plus')
485 uri = webapp2.uri_for('escape', name='with/slash')
/external/chromium-trace/catapult/third_party/webapp2/
Dwebapp2.py616 uri = self.uri_for(_name, *args, **kwargs)
620 def uri_for(self, _name, *args, **kwargs): member in RequestHandler
627 url_for = uri_for
1727 def uri_for(_name, _request=None, *args, **kwargs): function
1812 uri = uri_for(_name, _request=_request, *args, **kwargs)
DCHANGES143 - Removed support for _anchor in uri_for() -- the documented keyword is
270 - Added standalone uri_for function, to be used in templates.
331 - RequestHandler.url_for was renamed to uri_for, with url_for kept
/external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/
Droutes.py331 return handler.uri_for(kwargs.pop('_name'), *args, **kwargs)