Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
74 views

AWS: How to let a S3 frontend (React, Axios) communicate with an EC2 backend (python3/Django, DjangoREST, corsheaders)

I followed a tutorial for creating a basic To-Do app (so CRUD) with a React+Axios frontend (ServiceWorker, bootstrap) and Django backend (DjangoREST, corsheaders), and would like to put it on AWS's ...
Gamekeeper's user avatar
-1 votes
0 answers
24 views

Django hosted on Render - Media Files/template vars

I've got a Django app that stores its static and media files in an AWS S3 bucket. Retrieval, usage and storage of these files work fine locally. The issue is, when accessing through the live site ...
Kiana's user avatar
  • 35
0 votes
0 answers
30 views

custom storage-backend class not working as expected with s3, boto3 and django-storages

I am following this tutorial here from Michael Herman, trying to setup s3 storage for my django project and I am facing some issues right from the start of the tutorial. First, when I tried running ...
Tejaswin's user avatar
0 votes
0 answers
36 views

How can both ECS services, using the same Docker image but running in different containers, share the same Docker volume?

I'm working on a Django application where I need to upload a file received from a Django admin form to an S3 bucket asynchronously using a Celery shared task. Here is the relevant code: Django Model: ...
abinash_123_'s user avatar
0 votes
0 answers
16 views

Extracting text from PDF after uploading (Django app on AWS)

@login_required(login_url="/login/") def upload_view(request): posts = Temp.objects.all() common_tags = Temp.tags.most_common() if request.method == "POST": ...
RofyRafy's user avatar
0 votes
1 answer
33 views

aws app running django static s3 url missing colon wrong url

this is my first post and i was to highlight a problenm that i've struggled with for a whole day. While configuring my django project by recovering the static files from an s3 bucket i've ended up ...
junjei's user avatar
  • 1
0 votes
1 answer
175 views

'The request signature we calculated does not match the signature you provided' in DigitalOcean Spaces

My django app saves user-uploaded files to my s3 bucket in DigitalOcean Spaces(using django-storages[s3], which is based on amazon-s3) and the path to the file is saved in my database. However when I ...
tthheemmaannii's user avatar
0 votes
0 answers
66 views

How to read file in s3 Bucket using django-storages?

I have a Django app that uses DigitalOcean Spaces to store user-uploaded files. The app then transcribes those files and returns the text. However when I try to read the file using the url to the ...
tthheemmaannii's user avatar
0 votes
2 answers
33 views

Railway Error when deploying DJango App due to botocore dependency (boto3)

After installing boto3 package to integrate with AWS S3 buckets, the application fails on deployment. The Railway error is "botocore 1.34.93 depends on urllib3<1.27 and >=1.25.4; ...
Wilmi Vizcaino's user avatar
0 votes
0 answers
38 views

How to store my user-uploaded files on Digital Ocean Spaces using django-storages?

I am totally new to this. My Django app is run in Docker. My app allows users to upload files which are stored, followed by executing some functions on the file then generating a new file that the ...
tthheemmaannii's user avatar
2 votes
0 answers
302 views

Python Django ASGI - memory leak - UPDATED #2

EDIT 25.04.2024: malloc_trim(0) seems to work. I need to test how the server memory consumption looks like in the long run, though. This is modified asgi.py which starts deamon thread which invokes ...
fifdee's user avatar
  • 21
-1 votes
2 answers
62 views

AWS EC2 Server not serving some pages and static files propperly

I just Deployed a website on AWS EC2 from github clone. When i visit to Influencer Marketing & Career pages the server serving the static files from S3 Bucket correctly. But when i am visiting my ...
Rahul Verma's user avatar
0 votes
0 answers
96 views

How to configure django 5.0.3 to be able to use private/public media files on AWS - s3

today I feel very frustrated , after 3 days trying to implement django using amazon s3 with media file in private mode. In the past my apps has been configured using the following link bellow and ...
Gully's user avatar
  • 1
0 votes
0 answers
9 views

Reading IPTC information Django

I have published my django project on shared hosting, there are no problems at all. Everything seems to work as it should, but as soon as the system is to read IPTC information from images, it does ...
Björn's user avatar
  • 1
0 votes
0 answers
177 views

An error occurred (XMinioInvalidObjectName) when calling the PutObject operation: Object name contains unsupported characters

I've the following class class Foo: def value_to_filename(self, validated_data : dict): file_name = json.dumps(validated_data, cls=Encoder) file_name = self....
mohamed naser's user avatar

15 30 50 per page
1
2 3 4 5
96