diff options
| author | Steve Piercy <web@stevepiercy.com> | 2015-05-21 01:02:42 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2015-05-21 01:02:42 -0700 |
| commit | 74a106975d82610c537383674a5f64f63a588c41 (patch) | |
| tree | 3e83871eaeb8a48914ac37170658ef79c58d0a3e /docs | |
| parent | ae79a4ecda81b9f7356292483e068c6cef4fda59 (diff) | |
| parent | 511dc7b09996d91b8158b70607107d109b1015b6 (diff) | |
| download | pyramid-74a106975d82610c537383674a5f64f63a588c41.tar.gz pyramid-74a106975d82610c537383674a5f64f63a588c41.tar.bz2 pyramid-74a106975d82610c537383674a5f64f63a588c41.zip | |
Merge pull request #1705 from stevepiercy/master
grammar fixes
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/quick_tutorial/view_classes.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/quick_tutorial/view_classes.rst b/docs/quick_tutorial/view_classes.rst index 58ab43e40..50a7ee0af 100644 --- a/docs/quick_tutorial/view_classes.rst +++ b/docs/quick_tutorial/view_classes.rst @@ -51,7 +51,7 @@ Steps :linenos: #. Our unit tests in ``view_classes/tutorial/tests.py`` don't run, - so let's modify the to import the view class and make an instance + so let's modify them to import the view class and make an instance before getting a response: .. literalinclude:: view_classes/tutorial/tests.py @@ -88,7 +88,7 @@ view class, then updated the tests. In our ``TutorialViews`` view class you can see that our two view classes 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 on at the class level. +``@view_defaults`` decorator at the class level. The tests needed to change. Obviously we needed to import the view class. But you can also see the pattern in the tests of instantiating |
