#Not able to load css in django admin in server

1 messages · Page 1 of 1 (latest)

quiet lotus
#

Hello, i was using DRF as an app backend server. While running locally the admin page displays properly and in server(deployed using zappa in AWS lambda server) the css is not loading. Kindly help with this. Thanks

steel sluice
#

did you collectstatic?

#

remember that when using runserver, css are served from your python path

quiet lotus
#

Yes i have done that

undone prawn
#

How exactly it is loading could you please tell me more about it so that we can help you out thank you

quiet lotus
#

In the settings.py we have defined the static files and then run collectstatic, and in locally it works in both debug true and false

#

Once we deploy in zappa, in the server url if we open admin, css is not getting loaded