wish helps you Static files need to be served by your webserver. The point of using static files is, that a webserver is faster to deliver the file, if it does not need to pass through django. So you need to make sure, that your webserver serves /root/workspace/django/mercury/static/ at the url /static/. In DEBUG mode you can serve static files with the code snippet posted by @sandeep-balagopal, so they work with manage.py runserver when you're debugging.
This might help you My static files were absolutely working fine, but yesterday I tried using the app allauth and since then my static files are not being displayed. It is not showing any css or js. I tried commenting the allauth app and even then it does not work. , allauth prescribes using TEMPLATE_CONTEXT_PROCESSORS like this::