Pylons/pyramid — Issue #399: docs: traversal tutorial "save_url = request.resource_url(context, 'edit_page'))"
Author: guyco1
Created: 2012-01-13 09:44:27+00:00
State: open

Small thing and could be my implementation (as I'm using SQL Alchemy backend), but using "save_url = request.resource_url(context, 'edit_page'))" creates an additional database call, assuming this is due to traversal algorithm trying to see if /context/edit object exists. Changing to save_url = request.resource_url(context, '@@edit_page')) resolves this.