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/124db2e9-2fde-4d1f-be55-fbfaca903457n%40googlegroups.com.

