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.
These fields are of different models.
**
My models:
Teacher, Account(ReferenceProperty...
Hello.
Is there a datastore viewer in Google App Engine Launcher? Something similar to the Datastore Viewer that can be found within the GAE website?
Thanks.
...
I'm trying OpenID support for Google App Engine on a small project i have on my machine but when i call:
users.create_login_url(federated_identity = provider_url)
i get this error:
google_appengine/google/appengine/api/user_service_pb.py", line 178, in ByteSize
n += self.lengthString(len(self.destination_url_))
TypeError: object ...
Say I wanted to print the response time on my pages like Google do.
How would I go about doing this?
...
I came across this syntax browsing through code for examples. From its surrounding code, it looked like would a) get the entity with the given keyname or b) if the entity did not exist, create a new entity that could be saved. Assume my model class is called MyModel.
my_model = MyModel(key_name='mymodelkeyname',
kwa...
You can create a new model in App Engine using a dictionary:
my_model = MyModel.get_or_insert(keyname, **kwargs)
Is there a way to update a model using a dictionary instead of doing the following?
my_model.firstprop = 'first'
my_model.secondprop = 'second'
...
Hi there everybody. I would like to know if something like Drydrop, but using a Mercurial repository instead of a Git one, exists.
(I know that I could just mirror my original repository to Github or some other Git hosting service, I only wanted to be sure there was not a more direct alternative).
Thank you.
...
Is it possible to deploy an Android application to the google app engine environment? ie to deploy it to appspot?
If not, is there any kind of "container" which would allow one to do this?
I would like to create an application that can be deployed on both android, and a web based environment
...
Hi,
I have made a site which can pull and upload videos from and to YouTube,
http://www.tole-rants.com/
This site was made with the combination of Python, Google App Engine and YouTube API. It is hosted at Google App Engine. I did not code the main structure of this application bcos I don't speak Python so I was made with a Python prog...
I'm trying to follow a tutorial on setting up Spring MVC to work on Google App Engine. For the purposes of this question I'm using Eclipse, Maven, and a Ubuntu development environment.
I'm able to successfully build my application, as the following snippet shows :
INFO] Building war: /home/james/workspace/springappengine/target/spring...
This is a general App Engine data store indexing question. The data store automatically build indexes that can be used for simple single property queries (queries that do not involve composite keys).
Does the overhead in generating this index vary on the underlying data type of the entity's property ?
Essentially my question boils do...
Hello everyone.
I have this code that works. My class is a db.Model one2many with a teacher, experience, and so on...
What I want is to call the class teacher with forms, but also intend to include other classes, like a form from experience class and a form from category.
These classes are as foreign Key teacher.
I wonder how to derive...
How can I get the size of an image transformed with the app engine images API?
Note: I mean the size in bytes, not the dimensions.
...
Is it possible to make a shell for serveral app(So i can put many games in only one app)
...
hello all,
i have put a copy of Django-1.2.1 in my appengine app [sys.path.insert(0, 'Django-1.2.1.zip')] and it works fine.
in a webapp Class I have:
name = 'dashboard'
template_values = {
'name': name
}
fp = open('templates/dashboard.html')
t = Template(fp.read())
fp.close()
self.response.out.write(t.render(template_values))
...
Hi,
I need to store python code in a database and load it in some kind of bootstrap.py application for execution. I cannot use filesystem because I'm using GAE, so this is my only choice.
However I'm not a python experienced user.
I already was able to load 1 line of code and run it using eval, however a piece of code with two lines o...
In GAE-python, you can model a one-to-many relationship by assigning a reference property to the child model.
class Book(db.Model):
title = db.StringProperty()
class Author(db.Model):
book = db.ReferenceProperty(Book, collection_name = 'authors')
is_primary = db.BooleanProperty()
name = db.StringProperty()
This way, I can ...
Anyone have any ideas on how I could get a unique username (but not the email address) for each user. Ideally, I'd show them a page asking them to specify a username for the site, but the only way I can think of doing that is to show it to them after they've authenticated via G Accounts or OpenId. But, that requires another page, and wha...
I'm working on an application that will run on Google App Engine. I would like it to respond gracefully to App Engine maintenance periods.
According to the documentation, memcache will simply not store or retrieve data during maintenance periods:
During a read-only maintenance period,
calls to the memcache API will not
throw exc...
I'm having problems deploying a test app to my google apps domain. I know I'm missing something -- any kind souls out there see it?
sign into appengine.google.com/a/mydomain.com
create application, my-app-id
verify that app.yaml has the same app id, my-app-id
visit dashboard and add my domain
from shell on local pc,
set AUTH_DOMAIN=...