google-code-export / django-hotclub

Automatically exported from code.google.com/p/django-hotclub
MIT License
0 stars 0 forks source link

create blocks for js imports, css imports, move jquery imports into blocks so they can be replaced. #161

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently any page using base and site_base will import jquery whether they
use it or not.   This is a waste of bandwidth.   

Some developers will require YUI or other libraries because of particular
features present (for example YUI has DataTable, jquery does not).
This would provide a clear place to put these.

Also it is possible there could be one version of jquery supported by all
the contrib apps and a different one for the project apps.

Original issue reported on code.google.com by adrian...@gmail.com on 25 Jan 2009 at 3:31

GoogleCodeExporter commented 9 years ago
Oops, should have been enhancement/feature request

Original comment by adrian...@gmail.com on 25 Jan 2009 at 3:32

GoogleCodeExporter commented 9 years ago
@adriannye May be you can try to create different basenojs.html which is same 
like base.html but without jquery 
and extend it for your YUI or other libraries. 

That should be a temporary fix but should work

Original comment by yash...@gmail.com on 25 Jan 2009 at 9:54

GoogleCodeExporter commented 9 years ago

Original comment by jtau...@gmail.com on 16 Mar 2009 at 3:05

GoogleCodeExporter commented 9 years ago

Original comment by pyDanny on 31 Mar 2009 at 7:15