I need to store a undirected graph in a Google App Engine database.
For optimization purposes, I am thinking to use database indexes.
Using Google App Engine, is there any way to define the columns of a database table to create its index?
I will need some optimization, since my app uses this stored undirected graph on a content-based fi...
Can you please give me a simple, and straightforward python example of sending an HTML e-mail using App Engine? Plaintext is straightforward, but I'm having difficulties with HTML tags.
...
I have a Django 1.1.1 project that works fine. I'm trying to import it to Google App Engine.
I'm trying to follow these instructions.
I run it on the dev server, and I get an import error:
ImportError at /
No module named mysite.urls
This is the folder structure of mysite/:
app.yaml
<DIR> myapp
index.yaml
main.py
manage.py...
I can't figure out how to point unit tests at the queue config file.
Unit Test snippet
// TaskQueue setup
LocalTaskQueueTestConfig tqConfig = new LocalTaskQueueTestConfig();
tqConfig.setQueueXmlPath("/war/WEB_INF/queue.xml");
Stack Trace
java.lang.IllegalStateException: The
specified queue is unknown : zip-fetch
at
com.go...
i use remote_api to load data from google-app-engine.
appcfg.py download_data --config_file=helloworld/GreetingLoad.py --filename=a.csv --kind=Greeting helloworld
the setting is:
class AlbumExporter(bulkloader.Exporter):
def __init__(self):
bulkloader.Exporter.__init__(self, 'Greeting',
...
Let's say I have 2500 MyModel entities in my datastore, and I run this code:
query = MyModel.all()
first_batch = query.fetch(2000)
len(first_batch) # 2000
next_query = MyModel.all().with_cursor(query.cursor())
next_batch = next_query.fetch(2000)
What do you think len(next_batch) is? 500, right? Nope - it's 1500. Apparently the query ...
i use this to download all data from my google app:
i follow this article: http://code.google.com/intl/en/appengine/docs/python/tools/uploadingdata.html#Creating_Exporter_Classes
and download data use this:
bulkloader.py --dump --url=http://zjm1126.appspot.com/remote_api --filename=b.csv
but the data is :
so how to make the data...
i can use firepython to show log to firebug,
but how to show log in the localhost's log window ?
thanks
...
this is the package which has a webapp demo in it : http://code.google.com/p/gaema/source/checkout
but when i login use this demo , i get a error :
so how to make this demo running on the gae-launcher
thanks
...
Hi
take this example from google docs
class BrowseHandler(webapp.RequestHandler):
> def get(self, category, product_id):
> # Display product with given ID in the given category.
>
>
> # Map URLs like /browse/(category)/(product_id) to
> BrowseHandler. application =
> webapp.WSGIApplication([(r'/browse/(.*)/(.*)',
> Bro...
Under the application settings page in the Administration console, it is possible to specify a name for the application, AFAIK this is used in the login page when using the users API to login.
I would like to be able to use this information within an application, currently, the title is also specified in a separate configuration file, b...
if I have a Customer object with a list of orders, declared using the db.ReferenceProperty
after a while I may have huge amount of orders in there, if I pull the Customer object would I be in danger of pulling the complete set of orders?
...
I'm using GwtUpload to upload images on GAE. The problem is that the images seem to get much bigger when I move them into a blob. I've noticed the same for simple text fields and in that case I've realised that some weirdo characters are being appended to the end of the field values (encoding right?). Can anyone help?
public class Image...
For each servlet request I get, I pass, perhaps, 10 methods before I am at where I need to check something in the session and I need the HttpSession.
The only way I can get the HttpSession is from the HttpServletRequest, correct?
How do I keep track of the session for each servlet request? Unfortuantly I cannot simple make a singleton ...
I have a relatively extensive sqlite database that I'd like to import into my Google App Engine python app.
I've created my models using the appengine API which are close, but not quite identical to the existing schema. I've written an import script to load the data from sqlite and create/save new appengine objects, but the appengine en...
I'm having trouble retrieving 2 artifacts in my Maven/Java/Google App Engine project:
com.google.appengine.orm:datanucleus-appengine:jar:1.0.7.final
com.google.appengine:appengine-api-1.0-sdk:jar:1.3.4
There's a similar question posted, but each answer brings me back to the same error message.
More detail
I don't know if it is re...
i use gaema for twitter user loggin http://code.google.com/p/gaema/
and my code is :
class TwitterAuth(WebappAuth, auth.TwitterMixin):
pass
class TwitterHandler(BaseHandler):
def get(self):
twitter_auth = TwitterAuth(self)
try:
if self.request.GET.get("oauth_token", None):
twitter_au...
I am implementing a tagging system for a website that uses JDO .
I would like to use this method.
However I am new to relationships in JDO.
To keep it simple, what I have looks like this:
@PersistentCapable
class Post {
@Persistent String title;
@Persistent String body;
}
@PersistentCapable
class Tag {
@Persistent String name;
}
Wha...
Dear all,
Do anyone know if there are alternatives of Django-SocialAuth which support Google, Facebook, Twitter and OpenID account.
I prefer webapp version instead of Django.
Or if you have done once would you mind sharing it?
Thanks in million.
...
i set:
Website:http://127.0.0.1:8085/
Callback URL :http://127.0.0.1:8085/
is this be permited ,
thanks
...