I downloaded wavesurfer.js from GitHub and added the folder in my django app. I searched through the folders and subfolders but couldn't find the wavesurfer.min.js or whatever the JavaScript file is. I want to be able to add the JavaScript to my HTML template.
I need help with this as I don't want to use the CDN link. Thank you all.
Look here
Make sure that django.contrib.staticfiles is included in your INSTALLED_APPS.
go in to your static folder
copy js file from download folder to this static folder
if you don't have static folder > create folder call "static" inside app folder
add static root and static url settings to settings.py
add static urls to project urls.py for debug = true
add
<script type="text/javascript" src="{% static "relative path to your js file from static folder /my_external_script.js" %}"></script>