Report this

What is the reason for this report?

Digitalocean APP for Django not update static

Posted on May 21, 2026

I follow this tutorial ( https://www.digitalocean.com/community/tutorials/how-to-deploy-django-to-app-platform ) and deploy successfully my django with all the static files. Yesterday I push some changes with the static files (add some color and other stuff done in the scss) but I can’t find the change online.

Any idea?



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.
0

Accepted Answer

Hi there,

A few things to check here, most likely one of these is the culprit.

First, make sure your SCSS is actually being compiled to CSS before you push. App Platform does not run a build step for SCSS automatically unless you have configured one. If you are relying on a local compile step, double check that the compiled CSS file is committed and pushed to your repo, not just the SCSS source.

Second, check whether collectstatic is running on each deploy. The tutorial sets this up as a run command, but it is worth confirming it is still in your App Platform settings under your app’s run command or build command. You can verify this in the deploy logs in the App Platform console.

Third, browser caching is the most common reason changes do not show up. Do a hard refresh with Ctrl+Shift+R or open in an incognito window to rule this out before digging deeper.

If static files are being served from DigitalOcean Spaces as per the tutorial, also check that the files in your Space actually updated after the last deploy. You can browse the bucket directly in the Spaces console to confirm the new CSS is there.

A quick way to confirm which file is being served:

curl -I https://your-spaces-url/static/your-file.css

Check the Last-Modified header to see if it matches your latest deploy.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Dark mode is coming soon.