Questions tagged [djangoappengine]

djangoappengine is a pluggable Django app that allows you to use App Engine's datastore with Django.

djangoappengine is a pluggable Django app that allows you to use App Engine's datastore with Django.

It provides the necessary plumbing to query the datastore, and custom management commands for deploying and running the SDK.

97 questions
2
votes
0 answers

Application not working after deployment to Appengine standard environment

My python(3.5) and django(2.1) app runs good locally but after I have deployed it on App engine, It gives me error by clicking on links. ProgrammingError: (1146, "Table 'chaipani.django_site' doesn't exist") raise_mysql_exception…
2
votes
1 answer

Django-nonrel error on boot: TypeError: __init__() takes exactly 2 arguments (1 given) for DatabaseFeatures

I just upgraded from django-nonrel 1fbce9199a32 to 496955a68561, and I'm now getting the following errors when trying to run the app: Traceback (most recent call last): File…
emmby
  • 99,783
  • 65
  • 191
  • 249
2
votes
1 answer

how to add the slugified field

while creating a blog i am using the following model class and form .but since i don't want the user to add the url(slugified field) himself i am stuck how can i add the slugified url before saving the model,should it be done in the view if i am…
Bunny Rabbit
  • 8,213
  • 16
  • 66
  • 106
2
votes
1 answer

manage.py broken after update of appengine

I updated appengine and now manage.py is broken, this is what I get: Traceback (most recent call last): File "manage.py", line 18, in InstallAppengineHelperForDjango() File "\workspace\Project\src\appengine_django__init__.py", line 545, in…
boiler8307
  • 35
  • 4
2
votes
1 answer

Space Efficient Django model type to store large amount of text

currently I'm trying to port existing Google App Engine application from webapp2 to django using the djangoappengine. Are there a equivalent in memory space saving ways to store the data using Django? Because there are limits to the amount stored in…
LeonBrain
  • 347
  • 1
  • 3
  • 15
2
votes
0 answers

Database error "MultiQuery does not support keys_only" in django GAE

I am using djangoappengine with django non-rel. class Subject(TimeStampedModel): class_room = models.ForeignKey( ClassRoom, related_name='class_subject') subject = models.CharField( max_length=255) tutor = models.ForeignKey(…
2
votes
1 answer

dev_appserver.py locally rejects PATCH requests but accepts it on deployed

I've got an app based on djangoappengine, Backbone.js and Django REST Framework that uses PATCH requests to update models via {patch: true} on a model.save call. I've found that when testing locally the dev_appserver returns: ERROR 2014-02-19…
2
votes
2 answers

How to Query a repeated property with a list object in google appengine ndb

I need to construct a logical query with a repeated property and can't get it to work. I have a list object with topics. topics = [u'string1', u'string2', ...] I have a query object: videos = Video.query() videos.count() => 19 topics is a…
mehulkar
  • 4,895
  • 5
  • 35
  • 55
2
votes
1 answer

App Engine 1.7.3: Need more info about Django 1.4 support

App Engine 1.7.3 was just announced, claiming "Django 1.4 is now fully supported for Python 2.7". Please provide more information. Is this referring to the django-nonrel source code on Github for 1.4 ?
jacob
  • 2,762
  • 1
  • 20
  • 49
2
votes
2 answers

How to Upload a File to blobstore or via django-filetransfer?

Currently, the default Django FileField upload method with the application we host on app engine using Google Cloud SQL returns the following error: OSError [Errno 38] Function not implemented:…
AndyHsiung
  • 43
  • 6
1
vote
0 answers

Model.objects.all() won't refresh using djangoappengine

I'm wondering if the queryset manager in django-nonrel is broken, but I may just be missing something about how to use it. Here's my issue: I've put together a simple blog using Django, but using djangoappengine. The model I use for the blog…
seddonym
  • 16,304
  • 6
  • 66
  • 71
1
vote
3 answers

having trouble with redirects

I'm using Django nonrel with App Engine and having an issue with redirects. Very simple redirects in my view handlers: @login_required def dashboard(request): if check_if_user_needs_to_import(request.user): return…
1
vote
2 answers

django-appengine server not starting

I've been trying to use Django-appengine to write a small web app, but I am stuck on setting up the development server. I have followed the tutorial as best a human can, and I have modified the test app's app.yaml to include my app ID, but nothing…
jakebasile
  • 8,084
  • 3
  • 28
  • 34
1
vote
2 answers

Is there any way to make django remote api run faster in GAE?

Following up this question here. I finally wrote up a code generation tool to wrap all my database data into something like…
Winston Chen
  • 6,799
  • 12
  • 52
  • 81
1
vote
0 answers

bad request(400) django-postgresql page error in gcp

my application was successfully deployed to google cloud platform. when i run command glcoud app browse it shows a blank page with bad request(400). this is the details of the error. my app runs well locally. where is the problem coming from? is…