Unless... you have response.optimize_css set somewhere in your code as well.
In which case, some pre-processing and caching would be applied to your CSS file before it is injected in the view. More doc here : http://www.web2py.com/books/default/chapter/29/04/the-core#response On Thursday, April 2, 2015 at 5:17:25 AM UTC+2, Anthony wrote: > > On Wednesday, April 1, 2015 at 7:45:10 PM UTC-4, Tom Campbell wrote: >> >> (First--congrats on v2.10 and thanks to all you contributors for an >> incredible framework.) >> >> What's the difference between these two lines of code? >> >> >> response.files.insert(1,URL('static','adminlte/bootstrap/css/bootstrap.min.css')) >> >> <link >> href="{{=URL('static','adminlte/bootstrap/css/bootstrap.min.css')}}" >> rel="stylesheet" type="text/css" /> >> > Assuming the first line is at some point followed by > response.include_files(), there is no difference. > > Anthony > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

