Not naive, its good to troubleshoot from the beginning. I've double checked that the files are in the paths, I had a play with the settings, even temporarily setting them to 777 to be sure its not a permission fault.
Then i realised that I was in the project/static directory, i ensured the files were in an app's static directory and ran a python manage collectstatic and that did the trick. Thanks for the help! On Friday, 16 May 2014 20:23:17 UTC+12, Venkatraman.S. wrote: > > Naive Q: did you check if the js files exist there? > > > On Thu, May 15, 2014 at 5:23 PM, Jason S <[email protected] > <javascript:>>wrote: > >> Hi, >> I've just created a really basic django site, its got the tutorial polls >> and thats about it. >> I've added in the metro UI and added it to the static files directory >> under the appropriate app. >> I've also used the collectstatic command and it picks up the files. >> >> But both with Apache and using runserver i'm only able to find CSS files, >> the js files are 404. >> [15/May/2014 11:44:35] "GET / HTTP/1.1" 200 2941 >> [15/May/2014 11:44:35] "GET /static/MetroUI/css/metro-bootstrap.css >> HTTP/1.1" 304 0 >> [15/May/2014 11:44:35] "GET /static/MetroUI/js/metro/metro.min.js >> HTTP/1.1" 404 1688 >> [15/May/2014 11:44:35] "GET /static/MetroUI/js/jquery/jquery.min.js >> HTTP/1.1" 404 1694 >> [15/May/2014 11:44:35] "GET >> /static/MetroUI/js/jquery/jquery.widget.min.js HTTP/1.1" 404 1715 >> >> The file permissions are the same and the files are definitely in the >> right path. >> Any idea why they aren't found, but the CSS files are? >> >> Thanks, >> J >> >> -- >> 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 [email protected] <javascript:>. >> To post to this group, send email to [email protected]<javascript:> >> . >> 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/65591ec5-dbef-4c2c-8f97-125a93174b87%40googlegroups.com<https://groups.google.com/d/msgid/django-users/65591ec5-dbef-4c2c-8f97-125a93174b87%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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 [email protected]. To post to this group, send email to [email protected]. 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/ddec3dec-5dd4-46cd-82bd-55fe69d81aab%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

