Skip to main content

All Questions

0 votes
0 answers
89 views

Performance issue (long serialization time) with Django rest framework serializers on large dataset like 1000 objects while fetching (read) the data

I am working on a Django application that uses Django Rest Framework to expose APIs. I am experiencing significant performance issues when serializing large data in Django Rest Framework. I have an ...
Rahul Golawar's user avatar
0 votes
1 answer
125 views

whitenoise module not found in production

Error: I ran into this error when trying to deploy my Django app using GAE using these instructions GAE for Django: ModuleNotFoundError: No module named 'whitenoise'. The error occurs when starting ...
Ledge's user avatar
  • 43
0 votes
1 answer
85 views

Where is nginx.conf kept on Google App Engine flexible environment?

I am getting nginx.error: client intended to send too large body so I'm trying to fix by making changes to nginx.conf. This is in a Google App Engine that uses Django and deploys to the flexible ...
Dan Cogswell's user avatar
3 votes
1 answer
221 views

Unable to connect to cloud datastore from local legacy project based on python2.7 and django 1.4

I have a django==1.4 project (python==2.7) that I wanted to run and make some changes. I am unable to connect to cloud datastore from my local codebase. Right now, when I run the project using ...
Akif Hussain's user avatar
0 votes
2 answers
159 views

How can I diagnose slow response times from Google App Engine and Django to serve a web app?

I've deployed a Django based portfolio website - http://johnmcgurk.no - on App Engine and I am struggling to diagnose why one app has such a poor response time. When running google PageSpeed Insights ...
John's user avatar
  • 11
0 votes
0 answers
64 views

Uploading multiple large files with django on Google App Engine -- how to do multiple requests

I'm trying to figure out how to load multiple large files (like 4K images) to Google Cloud Storage via django using the default admin interface. For example, I have a model with multiple images: ...
nathan lachenmyer's user avatar
0 votes
0 answers
18 views

ModuleNotFoundError: No Module name 'corsheaders' on google app engine project but works locally [duplicate]

I'm encountering an issue with CORS middleware not working in my Django application deployed on Google App Engine. Despite following the recommended steps, including installing the django-cors-headers ...
Ethan Lynch's user avatar
0 votes
0 answers
201 views

Uploading large file to GCS with django and django-storages -- direct or multi-part uploads?

I'm creating a django application that uploads multimedia to Google Cloud Storage using django-storages. My application is running on Google App Engine; I'm using the admin interface for admins to ...
nathan lachenmyer's user avatar
1 vote
0 answers
37 views

is there a way to upload multiple large image files to GCS in django admin?

I'm attempting to upload multiple image files to a Google Cloud Storage bucket simultaneously through the django admin interface, 14 image files totaling up to 175mb. They are contained in one model ...
Lawrence's user avatar
0 votes
1 answer
308 views

No current context. NDB calls must be made in context established by google.cloud.ndb.Client.context

I have an appengine app that works with python2.7 and I want to migrate to python3.9. I started by making call to google ndb cloud inside my appengine app. I am using python3.9 and django as a web ...
Nazih AIT BENSAID's user avatar
0 votes
1 answer
42 views

Why are GAE appspot URLs routed to the default service?

I am deploying 3 different instances of my python/django application as 3 different services within my project. app-devl as a shared dev environment app-test as a test environment default for the ...
bbits's user avatar
  • 1
0 votes
1 answer
114 views

Trouble with service account's json stored in Google Secret Manager (Only when deployed)

I've got a problem that I just can't seem to work out. I am running a django project, deploying via GCP App Engine. I have taken all my sensitive key/token data from my settings file and placed them ...
DoCu99's user avatar
  • 25
0 votes
0 answers
408 views

gunicorn looking for deleted module; cannot run django application in GCP

I have a django application that's been running fine on GCP, and I recently removed a dependency: django-colorfields. I didn't need this functionality, so I removed these items from my models, ...
nathan lachenmyer's user avatar
1 vote
1 answer
524 views

Django app on Google App Engine not connecting to Google Cloud SQL

I've encountered an issue when deploying my Django application on Google App Engine and trying to connect it to Google Cloud SQL. The application works perfectly on my local system, but when deployed, ...
Ayush Agarwalla's user avatar
0 votes
0 answers
53 views

Accessing static content from css file with Google App Engine/Google Cloud Storage

I have a Google Cloud Storage bucket from which my Google App Engine Django application retrieves its static content. This works swimmingly as long as the content is being accessed through staticfiles,...
lundbrundt's user avatar

15 30 50 per page
1
2 3 4 5
113