css and javascript not working in django


I am trying to run my django website through virtual environment on localhost.

But when I enter

$ python runserver

It says it started working on localhost:8000 but when I visit url, styling and javascript is gone.

asked 1 year, 10 months ago
Reputation: 1

1 Answer


Django is unable to serve static files if you have put DEBUG = False in

Just put

DEBUG = True

in and restart server.

answered 1 year, 10 months ago
Reputation: 1

Your Answer

Nothing to preview

Post Answer

Asked:  1 year, 10 months ago
Viewed:  457 times
Active:  1 year, 10 months ago