Django one-click project static not loading

June 27, 2016 277 views
DigitalOcean Django Getting Started

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 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?

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.

Have another answer? Share your knowledge.