static folder does not work

16 views
Skip to first unread message

waqar khan

unread,
Jul 30, 2020, 9:37:23 AM7/30/20
to Django users
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



coolguy

unread,
Jul 30, 2020, 1:06:33 PM7/30/20
to Django users
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 
Reply all
Reply to author
Forward
0 new messages