summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO.txt2
-rw-r--r--pyramid/config/views.py3
2 files changed, 2 insertions, 3 deletions
diff --git a/TODO.txt b/TODO.txt
index 56ddc384c..20a677bea 100644
--- a/TODO.txt
+++ b/TODO.txt
@@ -7,8 +7,6 @@ Must-Have
- Fix scaffolds and tutorials to use notfound_view_config rather than
view_config.
-- Add __no_permission_required__ to see notfound views.
-
Nice-to-Have
------------
diff --git a/pyramid/config/views.py b/pyramid/config/views.py
index 7f6a37cc4..9bd7b4b50 100644
--- a/pyramid/config/views.py
+++ b/pyramid/config/views.py
@@ -1414,7 +1414,8 @@ class ViewsConfiguratorMixin(object):
decorator=decorator,
mapper=mapper,
match_param=match_param,
- route_name=route_name
+ route_name=route_name,
+ permission=NO_PERMISSION_REQUIRED,
)
if append_slash:
view = self._derive_view(view, attr=attr, renderer=renderer)