Django add public key to image url

this is my in Django



and it works fine when uploading an image

but when I click on the image it gives me error {"message":"Unauthorized"}

that means I must add the key to the link to be like this

I tried to add it to the endpoint but give an error

so how can I add the key to the URL?

Back to Top