Make sure your DEBUG = False
, Django stores the static files in the local files instead of uploading to the S3 while in development mode. If this is not the case, please hide your credentials or any private implementations and upload full code to make the problem more clear to understand. Your current implementation looks fine for django 4.2
and later versions.