Apologies for posting to both discuss and dev, not sure if this
qualifies as a dev issue as it may require adding to the zcml lookup
machinery:

I want to have my Pyramid app look first for static html files when
given a path like

/foo.html

I can make this happen by using the following static declaration, but
that seems to hide other views as well:

<static
  name=""
  path="nf.static:html"
/>

When I use the above, I seem to get any request at the root directory
being interpreted as a request for a static document only. I get a
resource not found error when asking for a view named 'test' for
example, that is registered and working at the path '/test'. In Pylons
1, the expected behaviour is for the system to find the html file
first, which is kinda handy.

Is there an easy way to accomplish this with static views that I'm
missing?

thanks
Iain

-- 
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.

Reply via email to