Elias, please set up the CORS policy of the S3 bucket:
https://docs.aws.amazon.com/AmazonS3/latest/user-guide/add-cors-configuration.html

On Tue, Sep 17, 2019 at 3:44 AM Anthony Goslar <[email protected]>
wrote:

> Try using Django-storages and follow the tutorial on
> simpleisbetterthancomplex.com
>
> This looks like a permissions issue.
>
> I had similar issues with Google Buckets and sorted it out by reading the
> django-storages methods for Google buckets in the source code and then
> making sure all the settings were correct.
>
> Anthony
>
>
> On Mon, 16 Sep 2019, 22:01 Elias Coutinho, <[email protected]>
> wrote:
>
>> It seems that one of the problems is occurring while downloading the
>> files.
>>
>> See this error image:
>>
>> [image: image.png]
>>
>> If I go to Direct Link it usually downloads:
>>
>>
>> https://gsm-gervas.s3.amazonaws.com/static/material/fonts/roboto/fonts/Roboto-Medium.woff2
>>
>> Em qua, 4 de set de 2019 às 23:35, sachinbg sachin <
>> [email protected]> escreveu:
>>
>>> Mention aws key value in setting
>>>
>>> On Thu, Sep 5, 2019, 2:06 AM mohammed habib <[email protected]>
>>> wrote:
>>>
>>>> Did you run python manage.py collectstatic
>>>>
>>>> Are you using static template tags to heed your html link href fields
>>>>
>>>> Sent from my iPhone
>>>>
>>>> On 4 Sep 2019, at 23:06, Elias Coutinho <[email protected]>
>>>> wrote:
>>>>
>>>> Guys good afternoon,
>>>>
>>>> I managed to put my static folder in s3, the problem is that my effects
>>>> already lost power. lol
>>>>
>>>> The staticfiles folder where the auxiliary applications are installed
>>>> stop working, in my case it was django-material, select2 and others.
>>>>
>>>>
>>>>
>>>> If I comment this code
>>>> <https://github.com/CoutinhoElias/gsm/blob/master/gsm/settings.py#L34-L51>
>>>> that is in the settings of my project it works but does not send anything
>>>> to Amazon s3.
>>>>
>>>>
>>>>
>>>> Any suggestion?
>>>>
>>>> --
>>>> 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 [email protected].
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/django-users/70f224ee-f7a4-468f-9609-db2f8a0be161%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/django-users/70f224ee-f7a4-468f-9609-db2f8a0be161%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>> --
>>>> 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 [email protected].
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/django-users/D42D2706-9340-4450-BC92-35AB0D2C47DB%40gmail.com
>>>> <https://groups.google.com/d/msgid/django-users/D42D2706-9340-4450-BC92-35AB0D2C47DB%40gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "Django users" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/django-users/ainBAyaKDCc/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAOs61rziOACLNEH8jhT95zOcJWX6uomoxSLiQAVuU6eb43rNkQ%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CAOs61rziOACLNEH8jhT95zOcJWX6uomoxSLiQAVuU6eb43rNkQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
>>
>> --
>> Elias Coutinho.
>> Aprender sobre alguns assuntos é fundamental.
>> Aprender sobre Deus é indiscutivelmente o melhor conteúdo.
>>
>> --
>> 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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CALgom8pTgON%2B%3D0CJi_Pg%3D9ay-wJ%2B%3Db4SmWGb36Y-GuLQxGx75A%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CALgom8pTgON%2B%3D0CJi_Pg%3D9ay-wJ%2B%3Db4SmWGb36Y-GuLQxGx75A%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAM9cxcZbHUJNbcAk%2BysXRGgdvRsiEZi-OkjcE-0LURH-G8EjZA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAM9cxcZbHUJNbcAk%2BysXRGgdvRsiEZi-OkjcE-0LURH-G8EjZA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Regards,

Aldian Fazrihady
http://aldianfazrihady.com

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAN7EoAYrdoOXRNdbdTJVbOVyb__kBG86ib60OvR2PM0Q8uLD%2BA%40mail.gmail.com.

Reply via email to