--
You received this message because you are subscribed to the Google Groups "pylons-discuss" group.To post to this group, send email to pylons-...@googlegroups.com.
To unsubscribe from this group, send email to pylons-discus...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
I really like your solution and I think I'll try it out. Thanks for the code snippet, although I use Mako and I'm not too sure when environment["urls"] resolves to many urls when debug=True, whether mako has the ability to turn that into multiple link tags....
Does environment["urls"] return a list?
Regards,
Mark Huang
Thanks to everyone that contributed to this thread, I really appreciate it. I have one more question that's been bothering me though:
Managing assets in you python code, be it writing a bundle/library OR calling a jquery.need() while writing your pyramid view, this just feels a bit weird. I was actually hoping for a solution much like minimattic where by the minification/combination of assets are specified in your templates. Maybe it's just me, but don't you guys think it's more natural ?
And what if I had base templates that always use jquery and jqueryui, must I specify that I need to use it in every single vie/controller ( I come from a pylons world ) that I write?
Regards
Mark Huang
On Jul 4, 2012 11:40 PM, "Mark Huang" <zheng...@gmail.com> wrote:
>
> Hi Randall,
>
> Just a quick question. I began to realize I need the expire feature. How would I add a %(versions)s if I were to use the YAML file to store my bundles?
I believe that replacement variable is best places in the 'base_dir' option.
> --
> You received this message because you are subscribed to the Google Groups "pylons-discuss" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/pylons-discuss/-/9drQg_ClGFMJ.