I connected my Django project with heroku and amazon aws S3. I added following to my settings.py
STATIC_ROOT = os.path.join(BASE_DIR, \'staticfiles\') STATIC_URL