[Answered ]-Is there a way to include multiple javascript files in a django template?

2👍

✅

There is not a great way to combine when you are linking the scripts in your template. You can write a script that will generate URLs for you, but unless the number is unmanageable I wouldn’t recommend that. 10 is not so many.

For the minifying I would use Django Compressor. It will take your linked javascript and turn them into minified, cacheable files automatically.

Leave a comment