Path issue.
How to resolve
Nginx log
2017/12/03 17:06:10 [error] 3001#3001: *53342 open() “/usr/lib/python2.7/dist-packages/django/contrib/admin/static/admin//css/base.css” failed (2: No such file or directory), server: _, request: “GET /static/admin/css/base.css HTTP/1.1”,
How to remove this extra slash
EDIT:
/usr/lib/python2.7/dist-packages/django/contrib/admin/static/admin//css/base.css
theres no django in dist-packages
why and how?
pls help
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
You have to setup your nginx to SERVE static files and use the command manage.py collectstatic to copy all your apps’ /static folders to one combined folder nginx (or other server) will serve.
The developer cloud
Scale up as you grow — whether you're running one virtual machine or ten thousand.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.