python - Not able to replace static image in django 1.8 -


below settings.py entries.

static_url = '/static/'  static_root = '/home/eankuls/django-kuls/django_test/assets'  staticfiles_dirs = (     '/home/eankuls/django-kuls/django_test/static/', ) 

my image placed "/home/eankuls/django-kuls/django_test/static/images/ankur.jpg". executed "python manage.py collectstatic" command created copy of image '/home/eankuls/django-kuls/django_test/assets/images/ankur.jpg' , executed perfectly.

now trying replace image 'kuls.jpg'. deleted assets folder. replaced ankur.jpg kuls.jpg @ '/home/eankuls/django-kuls/django_test/static/images' , run "collectstatic" command again.

it created assets folder "kuls.jpg" upon running server "ankur.jpg" visible on browser instead of "kuls.jpg". older 1 not present in folder structure still present in output. please help.

please let me know if need more details additional settings.py

i think code ok , problem coming browser. clear browser's cache , try again.


Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -