On May 18, 2:05 pm, Chris McDonough <[email protected]> wrote:
>
> Elements of the generated URL are taken *from* the request (e.g. the
> hostname), so, no, there is no way to use route_url without a request.
> You can create a request "by hand" using pyramid.request.Request.blank()
> if you need to.
>
> - C

Hmm, I can dig it I suppose. I was hoping that since I only wanted the
path the request would not be needed. I will restructure my
formalchemy fieldset to accept a request object when binding with a
model instance and then do the base configuration at the same time as
the bind. This way I get persistent fieldsets, and a custom
configuration for them.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to