Question

Django one-click project static not loading

Posted June 27, 2016 1.7k views
Getting StartedDigitalOceanDjango

Hi everyone.
I’ uploaded my project to digital ocean and the static is not loading. I am completely confused why this is.
When I run python manage.py runserver [the digital ocean IP]:8000 I can open my project remotely just fine, and the staic loads. But not if I just access the IP.
Does anyone know where I go from here?

1 comment
  • Are you getting an error message, or does the page just not load? What is the value of DEBUG in yourproject.settings? Can you access the page via domain name?

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.

×
1 answer

Without more information it’s difficult to help you track down the source of the problem. For anyone else finding themselves on this page looking for a solution there are some good suggestions to be found in this thread on stackoverflow that help clarify static file serving via Django.

Submit an Answer