Miscellany
public text v1 · immutable@view_config(context=HTTPNotFound)
def notfound_view(request):
if authenticated_userid(request):
return HTTPNotFound()
else:
return HTTPFound(location = route_url('login', request) )