summaryrefslogtreecommitdiff
path: root/docs/tutorials/bfgwiki/src
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2010-04-14 02:49:19 +0000
committerChris McDonough <chrism@agendaless.com>2010-04-14 02:49:19 +0000
commitff1213e8f2aed987108ba57aed517c033491b1aa (patch)
treef531544c3373ae7d5b51746987cb373326277a9c /docs/tutorials/bfgwiki/src
parent2b6bc8adfa294f7133680f64df411251afb67dfc (diff)
downloadpyramid-ff1213e8f2aed987108ba57aed517c033491b1aa.tar.gz
pyramid-ff1213e8f2aed987108ba57aed517c033491b1aa.tar.bz2
pyramid-ff1213e8f2aed987108ba57aed517c033491b1aa.zip
Add "exception views" work contributed primarily by Andrey Popp by merging the "phash" branch.
Diffstat (limited to 'docs/tutorials/bfgwiki/src')
-rw-r--r--docs/tutorials/bfgwiki/src/authorization/tutorial/configure.zcml5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/tutorials/bfgwiki/src/authorization/tutorial/configure.zcml b/docs/tutorials/bfgwiki/src/authorization/tutorial/configure.zcml
index 837c04089..5297b9ee3 100644
--- a/docs/tutorials/bfgwiki/src/authorization/tutorial/configure.zcml
+++ b/docs/tutorials/bfgwiki/src/authorization/tutorial/configure.zcml
@@ -5,9 +5,10 @@
<scan package="."/>
- <forbidden
+ <view
view=".login.login"
- renderer="templates/login.pt"/>
+ renderer="templates/login.pt"
+ context="repoze.bfg.exceptions.Forbidden"/>
<authtktauthenticationpolicy
secret="sosecret"