I'm following the Try Django Tutorial #37 on Youtube and around the 11 minute mark, after the author sets DEBUG = False
and ALLOWED_HOSTS = ['*']
to put the website into production mode, he runs the server again and the website appears nicely designed on his end. However, when I run it again on my end while following along, the Bootstrap
design of the website completely falls apart with some images not even showing up.
I'm suspecting that this has something to with the static_in_env
vs. static_in_pro
when it comes development vs. production, but I'm not sure, just a beginner. Also, the following is what I'm getting in my command terminal:
[16/Jul/2015 17:31:20]"GET /static/css/bootstrap.min.css HTTP/1.1" 404 102
[16/Jul/2015 17:31:20]"GET /static/css/custom.css HTTP/1.1" 404 95
[16/Jul/2015 17:31:20]"GET /static/img/marketing1.jpg HTTP/1.1" 404 99
[16/Jul/2015 17:31:20]"GET /static/css/navbar-static-top.css HTTP/1.1" 404 106
[16/Jul/2015 17:31:20]"GET /static/img/mvp_landing_logo.png HTTP/1.1" 404 105
[16/Jul/2015 17:31:20]"GET /static/js/bootstrap.min.js HTTP/1.1" 404 100
[16/Jul/2015 17:31:20]"GET /static/js/ie10-viewport-bug-workaround.js HTTP/1.1" 404 115
I have attached screen shots of the website and how it's breaking. Any help or advice on how to fix this issue is appreciated. Thanks.
--
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...@googlegroups.com.
To post to this group, send email to django...@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/f5998fb8-3910-430b-a25b-8b48464f9c24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALXYUbkwddYSeL21mboivH-EEONx8vRdnhr66px405bEo%3D-27w%40mail.gmail.com.