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 <davide.m...@gmail.com>: > Hi Michael! > > > 2014-08-17 2:05 GMT+02:00 Michael Merickel <mmeri...@gmail.com>: > >> 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_asset(to_override='p_started:webapp/images/', >> override_with='p_started:webapp/dist/images') >> >> request.static_url('p_started:webapp/images/pyramid.png') >> > > > Thank you, it works :) > -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-devel+unsubscr...@googlegroups.com. To post to this group, send email to pylons-devel@googlegroups.com. Visit this group at http://groups.google.com/group/pylons-devel. For more options, visit https://groups.google.com/d/optout.