Yes, I'm just using the DjangAdmin interface

It works perfectly for models without any filefield / imagefield
First I thought that the connection between the app and the s3 bucket was 
wrong, but when I test i through the shell, it works.
On Monday, 20 December 2021 at 19:50:28 UTC+1 [email protected] wrote:

> So you are adding these images using the standard DjangoAdmin interface?
>
> On Monday, 20 December 2021 at 14:13:23 UTC Yorben Verhoest wrote:
>
>> I have a project which is set up on AWS using lambda, s3, ...
>>
>> Because it is still in production we are using DjangoAdmin to manage the 
>> data in it.
>> All of my models work fine when I try to save them except the ones that 
>> have a filefield or imagefield in them. When I save those, I get a 403 - 
>> CSRF token missing error.
>>
>> The weird thing is, working on localhost, It works perfectly, it even 
>> saves the files correctly into the s3 bucket. but once deployed on AWS 
>> Lambda, it throws me this error.
>>
>> Anybody else had this problem? I've been searching for answers this whole 
>> past week..
>>
>> Thanks in advance
>>
>

-- 
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/ecb33582-fcd1-4fba-b1a2-77150b68f97fn%40googlegroups.com.

Reply via email to