Re: Images are not displaying

2017-06-16 Thread Antonis Christofides
Hello, > ** This is probably missing a slash before "static"; it should be like this: But a better way is this: {% load static %} ... If you are on production rather than development, see also this: https://djangodeployment.com/2016/11/21/how-django-static-files-work-in-production/ Regard

Re: Images are not displaying

2017-06-16 Thread Carl
Hi! Because static is a folder on the root of your website, try putting a slash in front of static; for example, Hope this helps. :-) Sincerely, Carl Original Message Subject: Images are not displaying Local Time: June 16, 2017 1:44 AM UTC Time: June 16, 2017 5:44 AM From

Re: Images are not displaying

2017-06-16 Thread 'Abraham Varricatt' via Django users
If this is a production deployment, you probably need to run collectstatic and test if static files are being served correctly - more a deployment issue than a django matter. But, if you are testing with 'runserver' on a development system ... without exact knowledge of your folder structure,

Images are not displaying

2017-06-16 Thread Santosh Yelamarthi
Hi, am using django 1.10 version. am unable to display images in web. my app name -- polls I created templates directory and i put my *home.html* over there ** ** ** ** ** ** I created static folder and i put my image *logo.jpg* over there In my views file I imported home.html : *from django