Re: [pylons-devel] static_url usage

2014-09-18 Thread davide moro
.html Bye, davide 2014-09-16 23:29 GMT+02:00 davide moro : > Hi Steve, > > sure, it would be great! > > I'm going to add another important feature to pyramid_starter_seed, so > probably it is better waiting for the whole picture and then freeze it. > I think I will be ab

Re: [pylons-devel] static_url usage

2014-09-16 Thread davide moro
e placed. We could start a > new category, maybe "Developer Workflow Automation"? The default would be > "Miscellaneous", but that wouldn't do justice to something I see becoming > more commonplace in a developer's workflow. > > Please let me kno

Re: [pylons-devel] static_url usage

2014-09-16 Thread davide moro
Hi, thanks to your tips I've just published my first write up about Pylons/Pyramid: * http://davidemoro.blogspot.com/2014/09/pyramid-starter-seed-yeomam-part-1.html Thank you for your support, davide 2014-08-17 23:55 GMT+02:00 davide moro : > Hi Michael! > > > 2014-08-

Re: [pylons-devel] static_url usage

2014-08-17 Thread davide moro
Hi Michael! 2014-08-17 2:05 GMT+02:00 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.ad

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: > > >>> ${reque

[pylons-devel] static_url usage

2014-08-15 Thread davide moro
Hi there, say hello to a new pyramid user :). This is my very first practical experience with Pyramid. I've registered a static view >>> config.add_static_view('images', 'p_started:webapp/app/images', cache_max_age=3601) and all works fine visiting the url http://localhost:6543/images/py