Re: [pylons-devel] static_url usage

2014-08-16 Thread Michael Merickel
You'll want to avoid changing the path in your usage of static_url. Fortunately, Pyramid supports overriding static assets, so you can make a dummy path and override that with your dev or production "real" asset path. config.add_static_view('images', 'p_started:webapp/images') config.override_asse

Re: [pylons-devel] static_url usage

2014-08-16 Thread davide moro
2014-08-16 6:59 GMT+02:00 Karl O. Pinc : > Hello, > > On 08/15/2014 05:39:51 PM, davide moro wrote: > > Is there a way to generate a static url using the name "images" > > registered > > in add_static_view? > > I mean: > > >>> ${request.static_url('p_started:images/pyramid.png')} > > instead o