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.get('AWS_LOCATION', 'static')
On Wednesday, 23 March 2016 10:46:39 UTC, Naveen Yadav wrote:
>
> I'm serving static files f
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
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
3 matches
Mail list logo