1

I'm deploying a django API which does not have any static files, When is deploy it using heroku via GitHub without using heroku CLI, I get an error

Error while running '$ python Rest_Api/manage.py collectstatic --noinput'.

NB In my settings file i have the default django STATIC_URL = '/static/'

How can i tell heroku my app does not have any statics thus should not expect it?

1 Answer 1

0

you will want your admin panel to look good when deployed and they do have static files. so deploy as you would deploy django with static files

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.