I am trying to make a blog app using django and python. I am also trying to use s3 buckets for storage and heroku for deployment.I am follow a tutorial online by coreymschafer. I am doing everything exactly as the tutorial, yet i am getting that error. I have no idea what to do. Please help!
I have also installed boto3 and django-storages. However, I feel that the problem is with boto3 for some reasonenter image description here. i have attached a screenshot of the problem,also just wanted to state that there is no problem with base.html
PLEASE HELP! THANK YOU
I added these to my settings.py file:
AWS_ACCESS_KEY_ID = os.environ.get('AWS_ACCESS_KEY_ID')
AWS_SECRET_ACCESS_KEY = os.environ.get('AWS_SECRET_ACCESS_KEY')
AWS_STORAGE_BUCKET_NAME = os.environ.get('AWS_STORAGE_BUCKET_NAME')
AWS_S3_FILE_OVERWRITE = False
AWS_DEFAULT_ACL = None
DEFAULT_FILE_STORAGE = 'storages.backends.s3boto3.S3Boto3Storage'