diff options
| author | Éric Araujo <earaujo@caravan.coop> | 2019-12-14 13:33:46 -0500 |
|---|---|---|
| committer | Éric Araujo <earaujo@caravan.coop> | 2019-12-14 13:33:46 -0500 |
| commit | db9f893fc6c54164a71c2e96321e60e9b34c6f7a (patch) | |
| tree | f918ae87025ccaa2da953411c049b70726b792b7 /docs/quick_tutorial/view_classes.rst | |
| parent | 0168300b0da3c79e05ec87aa777e04674a86cebb (diff) | |
| parent | 948b692469cdcaeb38f37982f0810954c545b920 (diff) | |
| download | pyramid-db9f893fc6c54164a71c2e96321e60e9b34c6f7a.tar.gz pyramid-db9f893fc6c54164a71c2e96321e60e9b34c6f7a.tar.bz2 pyramid-db9f893fc6c54164a71c2e96321e60e9b34c6f7a.zip | |
merge upstream
Diffstat (limited to 'docs/quick_tutorial/view_classes.rst')
| -rw-r--r-- | docs/quick_tutorial/view_classes.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/quick_tutorial/view_classes.rst b/docs/quick_tutorial/view_classes.rst index 1307857b7..c9f61f5a3 100644 --- a/docs/quick_tutorial/view_classes.rst +++ b/docs/quick_tutorial/view_classes.rst @@ -78,7 +78,7 @@ To ease the transition to view classes, we didn't introduce any new functionality. We simply changed the view functions to methods on a view class, then updated the tests. -In our ``TutorialViews`` view class, you can see that our two view classes are +In our ``TutorialViews`` view class, you can see that our two view functions are logically grouped together as methods on a common class. Since the two views shared the same template, we could move that to a ``@view_defaults`` decorator at the class level. |
