Friday, November 8, 2019

Re: Updation of css file

Hi, 
You should configure your setting.py link below


And also load your static file in home.html in Jinja formate

Run python manage.py collectstatic

This will might work for you.

On Fri 8 Nov, 2019, 23:34 Sahil Sharma, <sahilsharma2471@gmail.com> wrote:




Hello everyone

My html page in not loading the css file dispite I have linked my the 2.css with my html page home.html and also in the terminal it is showing Not Found: /static/bookcollection/css/2.css and after a second or two it start showing  "GET /static/bookcollection/css/2.css HTTP/1.1" 404 2255 but than also the updated css file does not work.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/13993ff4-b7f8-4842-95e1-bfe4e435f754%40googlegroups.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CANYvZfAcSX70JYuS0YOgtr_eAR9g_jHa72rqY2%2BDwYp6-Y2JDA%40mail.gmail.com.

No comments:

Post a Comment