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
- Part 1: Building a User-Friendly Todo App with Flask - A Step-by-Step Guide for Setting up Flask Application template
- How to add YouTube plugin to Django CkEditor
- Print first n multiples of a given number using python
- Part 2: Building a User-Friendly Todo App with Flask - A Step-by-Step Guide for setting up our models with foreign key relationships
- Part 6: Building a User-Friendly Todo App with Flask - Step-by-Step Guide to Delete Todo and Category Items via DELETE Requests
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.