Re: Handling duplicate js/css in forms media with included templates

2013-04-16 Thread Carsten Reimer
Hi, maybe django-sekizai (https://github.com/ojii/django-sekizai) might help you out. It let's you define blocks (especially for javascript and css) in subtemplates and takes care that no entry is doubled. The docs are here: http://django-sekizai.readthedocs.org/en/latest/ We use it in a cu

Re: Handling duplicate js/css in forms media with included templates

2013-04-15 Thread Nora Olsen
On Tuesday, April 16, 2013 11:41:56 AM UTC+8, Nora Olsen wrote: > > Hi, > > I have seen some discussion in this group on how to handle duplicate > form.media in template includes. > > I have the following the following base.html with scripts at the end of > the body. I am following h5bp convent

Handling duplicate js/css in forms media with included templates

2013-04-15 Thread Nora Olsen
Hi, I have seen some discussion in this group on how to handle duplicate form.media in template includes. I have the following the following base.html with scripts at the end of the body. I am following h5bp convention: window.jQuery || document.write('