I believe the S3BotoStorage class is using the setting AWS_LOCATION to 
decide where to store it.
Adding this to your settings.py should do the job:

AWS_LOCATION = os.environ('AWS_LOCATION', 'static')

On Wednesday, 23 March 2016 10:46:39 UTC, Naveen Yadav wrote:
>
> I'm serving static files from S3 using collectstatic command using 
> djanog-storages, Right now it stores all the static content inside the S3 
> bucket, /s3-bucket/ Instead i want to store these files inside static 
> folder under my bucket. /s3-bucket/static/
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/47b57e01-1167-457e-ad4b-4955553fe009%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to