hzh
hzh

Reputation: 41

django cms admin looks weird on heroku and unable to function

I'm having a problem with django cms after pushing to heroku.

Django cms admin page is showing up without styling (plain html). Kindly refer to picture.

It should look like this.

Django cms is also not functioning- such as unable to add pages.

Django cms looks and functions well on localhost. For your advice please, thank you.

Upvotes: 0

Views: 285

Answers (1)

Neeraj Kumar
Neeraj Kumar

Reputation: 3941

You staticfiles not coming on admin page

So you need to run command

python manage.py collectstatic --noinput

on Heroku server for collectstatic files and make you have correct STATIC_ROOT and STATIC_URL in settings of project

Upvotes: 2

Related Questions