Re: Django javascript includes

2009-11-18 Thread esatterwh...@wi.rr.com
I would say template tags are the nice little framework for doing this. you could create a tags the looks in a certain path for files ending in '.js' based on the model or application and join it with settings.MEDIA_URL.. have it return a string of text or a list of strings that you can iterate

Re: Django javascript includes

2009-11-17 Thread Ovnicraft
2009/11/17 Thierry > Other frameworks (Symfony) offer simple hooks for managing js > includes. > In Django its simply a line of template code. > > This is annoying for managing JS dependencies. > > Did anyone write a nice little framework for managing js? > You

Re: Django javascript includes

2009-11-17 Thread Kenneth Gonsalves
On Tuesday 17 Nov 2009 3:45:01 pm Thierry wrote: > In Django its simply a line of template code. > what line of code is this? -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/ -- You received this message because you are subscribed to the Google

Django javascript includes

2009-11-17 Thread Thierry
Other frameworks (Symfony) offer simple hooks for managing js includes. In Django its simply a line of template code. This is annoying for managing JS dependencies. Did anyone write a nice little framework for managing js? -- You received this message because you are subscribed to the Google