it seems that python finds media directory, but not the static one, so just use print and the variable of your static folder and look at the console where python is seeing the static folder.
Le samedi 1 novembre 2014 23:44:21 UTC+1, robert brook a écrit :
-- Le samedi 1 novembre 2014 23:44:21 UTC+1, robert brook a écrit :
I am copying the code from one development machine(windows) to another (mac) and can see in the command window that 404 are being displayed as the status codes.
The rendered template has very little successful formatting
Any thoughts why this is happening on mac.
Also, this development will ultimately be moving to linux.
I want to make sure this does not happen in production.
Thanks
[01/Nov/2014 17:39:24] "GET /waitlist/ HTTP/1.1" 200 12144
[01/Nov/2014 17:39:24] "GET /media/spinner.gif HTTP/1.1" 200 136
[01/Nov/2014 17:39:24] "GET /static/css/bootstrap.min.css HTTP/1.1" 404 1667
[01/Nov/2014 17:39:24] "GET /static/templates/starter-template.css HTTP/1.1" 404 1694
[01/Nov/2014 17:39:24] "GET /static/assets/js/ie-emulation-modes-warning.js HTTP/1.1" 404 1721
[01/Nov/2014 17:39:24] "GET /static/js/bootstrap.min.js HTTP/1.1" 404 1661
[01/Nov/2014 17:39:24] "GET /static/assets/js/ie10-viewport-bug-workaround.js HTTP/1.1" 404 1727
[01/Nov/2014 17:39:24] "GET /static/assets/js/ajax_get.js HTTP/1.1" 404 1667
[01/Nov/2014 17:39:24] "GET /media/spinner.gif HTTP/1.1" 200 136
[01/Nov/2014 17:39:24] "GET /static/js/bootstrap.min.js HTTP/1.1" 404 1661
[01/Nov/2014 17:39:24] "GET /static/assets/js/ie10-viewport-bug-workaround.js HTTP/1.1" 404 1727
[01/Nov/2014 17:39:24] "GET /static/assets/js/ajax_get.js HTTP/1.1" 404 1667
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/2df9065f-b4de-4c42-a948-43bbf124b51c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment