You can consider using Django Sekizai to manage your Javascript and CSS 
imports:

https://django-sekizai.readthedocs.org/en/latest/

Hope that helps!

Best,
Dariel Dato-on

On Monday, September 30, 2013 1:12:54 AM UTC-5, dspruell wrote:
>
> Spent a bit of time debugging some faulty JavaScript library 
> functionality before I realized that I had included the library at 
> multiple levels in the project - first site-wide in the base template, 
> and then within a app. I think I ran into this: 
>
>
> http://stackoverflow.com/questions/4891278/what-is-the-danger-in-including-the-same-javascript-library-twice
>  
>
> Is there a good design pattern to this situation, bearing in mind a 
> need to include JS libraries at project level and a desire to use apps 
> that include the same libraries in an attempt to be reusable? 
>
> Looking at jQuery and Bootstrap for this. 
>
> -- 
> Darren Spruell 
> phatb...@gmail.com <javascript:> 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/f1c0a5c5-3c8b-47e8-9e8b-43751dda79e9%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to