Django add public key to image url
this is my setting.py in Django
AWS_STORAGE_BUCKET_NAME="test"
AWS_S3_ENDPOINT_URL="https://eu2.contabostorage.com/"
and it works fine when uploading an image
but when I click on the image it gives me error {"message":"Unauthorized"} https://eu2.contabostorage.com/test/public/Forde/front2.png
that means I must add the key to the link to be like this https://eu2.contabostorage.com/757f09dfdc5ss4ff8a61360:test/public/Forde/front2.png
I tried to add it to the endpoint but give an error
so how can I add the key to the URL?