pyramid/view.py | ●●●●● patch | view | raw | blame | history |
pyramid/view.py
@@ -657,8 +657,11 @@ This method returns a :term:`response` object or raises :class:`pyramid.httpexceptions.HTTPNotFound` if a matching view cannot be found.""" be found. .. versionadded:: 1.7 """ if request is None: request = self registry = getattr(request, 'registry', None)