Hi so this is my first time using render
I deployed a django project with PostgreSQL DB which is working but my django project only serves my Html and does not serve the css js and media file in it.How do I fix it
Hi there,
What happens if you run python manage.py collectstatic
as part of your build?
Regards,
Keith
Render Support, UTC+10
Hi there,
I also think you are missing the Whitenoise middleware: https://whitenoise.readthedocs.io/en/latest/django.html#enable-whitenoise. This is probably the issue as it looks like you have checked your collected assets into GitHub.
Reagrds.
Keith
Render Support, UTC+10
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.