I have been following this video on Youtube:
All the static files are working fine if they are on localhost but not working after the connection with AWS. However, the Postgres database is uploaded on AWS and it is working fine (that is, I can create users and etc using the AWS Database and they work fine.)
CodePudding user response:
You have mispelled AWS_KEY_ACCESS_KEY_ID
It should be AWS_ACCESS_KEY_ID
The program expects a string against AWS_ACCESS_KEY_ID
but because it is mispelled, so it is getting None
instead. Due to this reason, you are getting an error that NoneType Found
CodePudding user response:
Comment out the 'STATICFILES_DIRS' and try again. That was only used in my development.
also on a side note, i would remove the access keys from your bucket config when posting here. Even in production, they shouldn't be seen there. You can use a JSON config file or another method thats not accessable.