[Django]-Expect status [201] from Google Storage. But got status 302

0👍

I also had gone though this same situation, In my case the real problem was in model field.
Actual field was like:

photo = models.ImageField(upload_to='../../static/cars')

And later I change the upload to option as;

photo = models.ImageField(upload_to='static/cars')

Now my problem solved and it is working fine now.

Leave a comment