diff options
| author | Chris McDonough <chrism@plope.com> | 2010-10-25 23:09:02 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-10-25 23:09:02 -0400 |
| commit | 2e6905e15221691e645e5ff4ba0378a6d9438c29 (patch) | |
| tree | da97f7555bc11dc7369ad12beb1c04c91c713049 /docs/tutorials/wiki2/src | |
| parent | 0d1f2ff01465689a472b10bbded2fa4e7a895569 (diff) | |
| download | pyramid-2e6905e15221691e645e5ff4ba0378a6d9438c29.tar.gz pyramid-2e6905e15221691e645e5ff4ba0378a6d9438c29.tar.bz2 pyramid-2e6905e15221691e645e5ff4ba0378a6d9438c29.zip | |
add httpexceptions docs
Diffstat (limited to 'docs/tutorials/wiki2/src')
| -rw-r--r-- | docs/tutorials/wiki2/src/authorization/tutorial/login.py | 3 | ||||
| -rw-r--r-- | docs/tutorials/wiki2/src/authorization/tutorial/views.py | 3 | ||||
| -rw-r--r-- | docs/tutorials/wiki2/src/views/tutorial/views.py | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/docs/tutorials/wiki2/src/authorization/tutorial/login.py b/docs/tutorials/wiki2/src/authorization/tutorial/login.py index 1a54d575c..7a1d1f663 100644 --- a/docs/tutorials/wiki2/src/authorization/tutorial/login.py +++ b/docs/tutorials/wiki2/src/authorization/tutorial/login.py @@ -1,5 +1,4 @@ -from webob.exc import HTTPFound - +from pyramid.httpexceptions import HTTPFound from pyramid.security import remember from pyramid.security import forget from pyramid.url import route_url diff --git a/docs/tutorials/wiki2/src/authorization/tutorial/views.py b/docs/tutorials/wiki2/src/authorization/tutorial/views.py index a7e7a57c7..5abd8391e 100644 --- a/docs/tutorials/wiki2/src/authorization/tutorial/views.py +++ b/docs/tutorials/wiki2/src/authorization/tutorial/views.py @@ -2,8 +2,7 @@ import re from docutils.core import publish_parts -from webob.exc import HTTPFound - +from pyramid.httpexceptions import HTTPFound from pyramid.security import authenticated_userid from pyramid.url import route_url diff --git a/docs/tutorials/wiki2/src/views/tutorial/views.py b/docs/tutorials/wiki2/src/views/tutorial/views.py index c0d793d38..b8896abe7 100644 --- a/docs/tutorials/wiki2/src/views/tutorial/views.py +++ b/docs/tutorials/wiki2/src/views/tutorial/views.py @@ -2,8 +2,7 @@ import re from docutils.core import publish_parts -from webob.exc import HTTPFound - +from pyramid.httpexceptions import HTTPFound from pyramid.url import route_url from tutorial.models import DBSession |
