Django project deployment on Railway hosting missing styles and staticfiles
My django project on Railway hosting platform has no styles. Its like the staticfiles are missing. I ran the collectstatic command locally and puhed the staticfiles folder to my github but its still not working.
Admin
2023-01-07
You need to serve your own staticfiles on most platforms. Luckily there is a pip package that helps you to do that with very little configuration required, follow the steps in the link below to learn how to set one up in your Django project.
Similar Content
- Hosting PostgreSQL database on Supabase for free
- flask error: flask.cli.NoAppException: Could not import "app name".
- How to change project name on Django
- How to add YouTube plugin to Django CkEditor
- django.core.exceptions.ImproperlyConfigured: WSGI application 'project.wsgi.application' could not be loaded; Error importing module.
Privacy Policy
By using our website,
you agree that devmaesters can store cookies on your device and disclose information in accordance with our privacy policy.