diff options
| author | Casey Duncan <casey.duncan@gmail.com> | 2010-12-05 10:48:56 -0700 |
|---|---|---|
| committer | Casey Duncan <casey.duncan@gmail.com> | 2010-12-05 10:48:56 -0700 |
| commit | 2916ab3c7a2d876935bdbd286431ffdf0f23855d (patch) | |
| tree | b2d16b40518cecae1beed4e9131aa4110c6da30b /docs/narr/views.rst | |
| parent | df97c6aa65dcb12f7549055f317a7b30611c2207 (diff) | |
| download | pyramid-2916ab3c7a2d876935bdbd286431ffdf0f23855d.tar.gz pyramid-2916ab3c7a2d876935bdbd286431ffdf0f23855d.tar.bz2 pyramid-2916ab3c7a2d876935bdbd286431ffdf0f23855d.zip | |
minor claification
Diffstat (limited to 'docs/narr/views.rst')
| -rw-r--r-- | docs/narr/views.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/narr/views.rst b/docs/narr/views.rst index be0861d4b..c6a7f8b19 100644 --- a/docs/narr/views.rst +++ b/docs/narr/views.rst @@ -1747,12 +1747,12 @@ in such a way that the interface is attached to it. alsoProvides(hello, IHello) return hello -Regardless of how you associate an interface with a model instance or a model +Regardless of how you associate an interface, with a model instance, or a model class, the resulting code to associate that interface with a view callable is the same. Assuming the above code that defines an ``IHello`` interface lives in the root of your application, and its module is named "models.py", the -below interface declaration will associate the -``mypackage.views.hello_world`` view with models that implement (aka provide) +interface declaration below will associate the +``mypackage.views.hello_world`` view with models that implement, or provide, this interface. .. code-block:: python |
