I'm deploying a Django app in heroku, but the static files doesnt work. I was looking I i suppose that I have the right configuration.
settings.py
import os
RUTA_PROYECTO = os.path.dirname(os.path.abspath(__file__))
STATIC_ROOT = 'staticfiles'
STATIC_URL = '/static/'
STATICFILES_DIRS = (
os.path.join(RUTA_PROYECTO,'static'),
)
wsgi.py
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "Portafolio6.settings")
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
But this still not working. Please help.