Thursday, July 30, 2020

Re: static folder does not work

Does it work to change the background of your page? 

or its not working with regards to bootstrap.css...

Also check if you've accidentally commented out  The 'django.contrib.staticfiles' in settings.py under INSTALLED_APP 

On Thursday, July 30, 2020 at 9:37:23 AM UTC-4, waqar khan wrote:
I have created Django Project.
Project Name :- NoteBlog
Application-Name :- BlogApp

Problem:-  I have created inside application static folder and i am give perfect path But does not work style.css file , How can achieve  this problem.




My Project Structure


p.jpg


                         

 





style.css file

s.jpg




HTML File base.html  this is basic html file


j1.jpg





I am extends file base.html file extend suuccess But style.css file does not work 
Home.html

p2.jpg



--
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/62526ac1-e749-45d0-a0c3-699e6ce2e73fo%40googlegroups.com.

No comments:

Post a Comment