summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2018-08-30 04:54:02 -0700
committerSteve Piercy <web@stevepiercy.com>2018-08-30 04:54:02 -0700
commite604ce4350ccb6a70f632d5a4fdc5984a4218fd1 (patch)
tree65935ce3e3709c9d89d9ad97bd13c35dcf8166f8
parent7f5a799b0a5344d5460025c05dd33e360eb9a87e (diff)
downloadpyramid-e604ce4350ccb6a70f632d5a4fdc5984a4218fd1.tar.gz
pyramid-e604ce4350ccb6a70f632d5a4fdc5984a4218fd1.tar.bz2
pyramid-e604ce4350ccb6a70f632d5a4fdc5984a4218fd1.zip
Update narr/testing.rst to updated files in narr/myproject/
-rw-r--r--docs/narr/testing.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/narr/testing.rst b/docs/narr/testing.rst
index 8f4d806e6..ad4ba2186 100644
--- a/docs/narr/testing.rst
+++ b/docs/narr/testing.rst
@@ -396,10 +396,10 @@ As always, whenever you change your dependencies, make sure to run the correct
$VENV/bin/pip install -e ".[testing]"
In your ``MyPackage`` project, your :term:`package` is named ``myproject``
-which contains a ``views`` module, which in turn contains a :term:`view`
+which contains a ``views`` package containing a ``default.py`` module, which in turn contains a :term:`view`
function ``my_view`` that returns an HTML body when the root URL is invoked:
- .. literalinclude:: myproject/myproject/views.py
+ .. literalinclude:: myproject/myproject/views/default.py
:linenos:
:language: python