diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/views.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/narr/views.rst b/docs/narr/views.rst index 3331794e3..75260e236 100644 --- a/docs/narr/views.rst +++ b/docs/narr/views.rst @@ -30,7 +30,7 @@ function it returns *another* callable instead of a response. The returned callable is then called by ``repoze.bfg``, with its arguments filled in "magically". -The easiest way to implement a view factory is to imlement it as a +The easiest way to implement a view factory is to implement it as a class. Here's a hello world view factory that is implemented as a class:: @@ -105,7 +105,7 @@ magically during view call time:: View Functions Revisited ------------------------ -Above we provided an example of a "view" imlemented as a function:: +Above we provided an example of a "view" implemented as a function:: def hello_world(context, request): from webob import Response |
