This repository was archived by the owner on May 20, 2021. It is now read-only.

Description
I'm trying to serve statics on heroku with DEBUG=False. When DEBUG is True everything works perfectly so it is when I run my application locally with Heroku's Foreman. Collectstatic runs with no problems in both ambients.
Forman works with the following setting:
STATIC_ROOT = root('staticfiles')
STATIC_URL = '/static/'
But i've tried setting it with:
STATIC_ROOT = 'staticfiles'
STATIC_URL = '/static/'
with no success.
My app is structured in the following way:
Procfile
requirements.txt
projetc/
manage.py
project/
staticfiles/
I'm setting --pythonpath to the project folder in the procfile.