I've been trying all sorts of things and can't figure this out!
For some reason on the Django development server the paths to the JavaScript just don't work.
Directory structure is
site
|
appName static templates
| | |
views.py javascript appName
| |
script.js index.html
In index.html I have
<script type="text/javascript" src=../../static/javascript/script.js></script>
And it doesn't work!
If I copy and paste the script.js directly into index.html all of the functionality works, just the pathing is messed up.