I noticed in your example you aren't specifying a context= or for_= in the view_config, implying you maybe intended to use route_name instead of name with url dispatch.
If you are using traversal your application basically assumes a resource tree, and so to get the url you provide a resource object that defines __name__ and __parent__. The URL is then generated based on that resource's location in the tree... the actual name of the view on that resource is computed using the *elements on resource_url(). In the case of not defining a context, you probably mean the root context object (although it could be attached anywhere since you didn't specify). Assuming you wanted the root context, you could do resource_url(request.root, request) and resource_url(request.root, request, 'history') HTH, Michael -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-devel@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en.