0

This is driving me crazy for the last 2 hours. Please help. Django 1.10

settings.py:

 STATIC_ROOT = os.path.join(BASE_DIR, 'static')

 STATICFILES_DIRS = []

 STATIC_URL = '/static/'

project_folder/static/images/abc.png is working through "{ static 'images/abc.png' }"

I've just added project_folder/static/images/def.png but it DOES NOT work through "{ static 'images/def.png' }"

Both were tested in the same file so {% load static %} was always there.

I had also tried to copy abc.png to def.png just in case my original def.png was bad. But it's still not working.

I hope what I said make sense. Thank you for your help

Bharat
  • 2,441
  • 3
  • 24
  • 36
H Bui
  • 63
  • 1
  • 7

0 Answers0