Missing button image

28 views
Skip to first unread message

WST

unread,
Feb 17, 2016, 6:03:06 PM2/17/16
to Django users

Hi All,


I would appreciate if someone could tell me why the view components will not load? Thank you!



Nikolas Stevenson-Molnar

unread,
Feb 17, 2016, 7:33:33 PM2/17/16
to Django users, weishe...@gmail.com
More information would be helpful here. Where are the missing images being loaded from? Are they static files related to your project? Are they static files hosted elsewhere? Are they images dynamically generated by a view? Do the images ever display correctly? (e.g., do they display in development but not production)?

_Nik

James Schneider

unread,
Feb 17, 2016, 7:38:16 PM2/17/16
to django...@googlegroups.com
On Wed, Feb 17, 2016 at 3:03 PM, WST <weishe...@gmail.com> wrote:

Hi All,


I would appreciate if someone could tell me why the view components will not load? Thank you!


Without more information, there's no way to tell. It's likely that you are not correctly serving your static files. Are you running the Django dev server or is this running under something like Apache or Nginx?

You are probably seeing HTTP 404 errors in your console output if you are using the Django dev console. See this link for making sure your static files are served correctly in this instance: https://docs.djangoproject.com/en/1.9/howto/static-files/

-James

weishe...@gmail.com

unread,
Mar 1, 2016, 10:50:37 AM3/1/16
to Django users
Dear all,

Thank you for your help and sorry for the late reply. This issue is now solved. It was indeed related to static files and I just needed to run
$ python manage.py collectstatic

Thanks again.
Reply all
Reply to author
Forward
0 new messages