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
0
votes
1 answer

Django App Engine Installation CommandError Issue

I've been following the installation guide on django app engine doc. I had unzip each module and place them in a directory as such Next, I entered the startproject cmd. PYTHONPATH=. python django/bin/django-admin.py startproject…
LeonBrain
  • 347
  • 1
  • 3
  • 15
0
votes
1 answer

Fill a Form on the same page with different classes - write to DB and display values

I have a model with 5 entities and intend to create a form (on the same page) but do not know how to integrate more than one form. In my main, i can play very well with the forms and write to database, but I need to put more fields on the page.…
Martinho
  • 379
  • 1
  • 3
  • 14
0
votes
1 answer

Equivalent replacement for ListProperty(db.Key) in djangoappengine

I and trying to use djangoappengine, but I am unsure how can I write model to incorporate standard ListProperty(db.Key) I know that djangotoolbox provides this field types but I am unable to figure out the exact syntax.
0
votes
1 answer

Example of custom model field extending ForeignKey

Can someone give me an example of extending a ForeignKey model field? I tried like this: class ForeignKeyField(forms.ModelChoiceField): def __init__(self, *args, **kwargs): super(ForeignKeyField, self).__init__(Chain.objects.all(),…
andunhill
  • 61
  • 9
0
votes
1 answer

Error importing simplejson and antlr3 to djangoappengine project

I'm building a project that uses django-app-engine, but get some import errors when running the project with the GAE launcher. My first error is importing simplejson, same as: Error importing simplejson after upgrading to appengine dev server…
Jeremy
  • 3,438
  • 3
  • 34
  • 57
0
votes
1 answer

Serving Static files - Django-nonrel in Appengine

I've successfully got a basic Django-nonrel app up and running on Appengine. The templates are getting rendered properly, but the static content returns a 404 response. There is no problem with the static content in the dev server launched using…
user1265125
  • 2,608
  • 8
  • 42
  • 65
0
votes
1 answer

How do I disable built-in index for a model property for GAE?

GAE model properties can be removed from built-in index by setting "indexed" to false. In DjangoAppEngine, I don't see an API to set model fields to not be indexed. How do I set a model field as such?
jacob
  • 2,762
  • 1
  • 20
  • 49
0
votes
1 answer

require_indexes when unit testing on djangoappengine

I'm trying to reduce and clean up my datastore indexes on GAE datastore, so I set require_indexes=True. I removed all indexes and ran my unit tests, but the tests pass without an issue and there is no changes made by the GAE SDK to index.yaml. Why…
jacob
  • 2,762
  • 1
  • 20
  • 49
0
votes
2 answers

Is djangoappengine (django-nonrel) production worthy?

I'm thinking of hosting an app on app engine, and I already started building it in native django. Is it crazy to use djangoappengine (django-nonrel) for a production product? Is it proven?
AlexH
  • 317
  • 1
  • 3
  • 17
0
votes
1 answer

When does INSTALLED_APPS get imported on GAE if there is no warmup request?

djangoappengine.views.warmup does its job of loading all Django apps when GAE sends a warmup request. If GAE does not send a warmup request, either due to request spike or because warmup service is not enabled, then when does INSTALLED_APPS get…
jacob
  • 2,762
  • 1
  • 20
  • 49
0
votes
0 answers

Django App Engine: Filter and Order of a DateTimeField - Filter Not Working

I am running a query on Django on top of Google App Engine (using django-nonrel). I am trying to determine all currently scheduled emails in my app. I do this, by querying for all emails that should have already been sent and ordering by the…
speedplane
  • 15,673
  • 16
  • 86
  • 138
0
votes
3 answers

Django, appengine and Django-nonrel

I want to create a web app using Django 1.5 or 1.6 using appEngine. I have read about as I have to do it and I have read about Django-nonrel which is very usefull to avoid the issues related with non-relational Database. Unfortunately I have read…
kiuby_88
  • 334
  • 1
  • 6
  • 18
0
votes
1 answer

Running django manage.py commands via appengine's cron.yaml

I don't believe that this question has actually been asked online before. I'm aware that for cron'd tasks, there needs to be three handlers. One in the cron.yaml, the app.yaml, and the script itself. But what about management commands, which…
Lucas Ou-Yang
  • 5,505
  • 13
  • 43
  • 62
0
votes
2 answers

How do you display an image cropped with AppEngine's Image API in a Django template?

I'm using django non-rel for appengine (djangoappengine) and have an app where the user selects an image and I have to return a crop from the selected image. The images in my app are uploaded to the Blobstore following the django-filetransfers…
0
votes
2 answers

Send email on GAE using Django module (django.core.mail)

Before the migration of my app to GAE, I was using the following code to send emails and it worked pretty good: from django.core.mail import send_mail subject = 'Hello!' msg = '\n \n Hello World!' sender = settings.DEFAULT_FROM_EMAIL to =…
Raulsc
  • 75
  • 2
  • 12