The new bulkloader added into SDK 1.3.4 works great for models that
have a schema. For models inheriting db.Expando (or loosely defined
schemas) i would like to understand what i would have to do to bulk
upload them.
I defined a custom connector, that implemented the ConnectorInterface
and converted my data to the python dict required. ...
I want to enable someone login using facebook,
Is there a framework that you have used to do this?
Thanks
...
I just need to change order of items in a (previously persisted) ordered collection...
I tried simply passing the re-arranged collection to a setter: after committing a transaction the collection is gone.
Then I tried to clear() the existing collection and addAll() afterwards: clear() makes persistent manager to mark all the elements as...
I'm developing in Google App Engine (python sdk) and I want to use jQuery to send an Ajax request to store an answer to a question.
What is the best way to send this data to the server? Currently I have:
function storeItem(question_id) {
var answerInputControl = ".input_answer_"+question_id;
var answer_text = $(answerI...
I'm currently putting the finishing touches to an application for a client, this application sends daily emails to subscribers, is it possible to add custom headers to the email so that certain variables can be tracked, like day number (X-Day-Number) etc...
...
i want to enable openid user login my site.
which is best framework to do it ?
thanks
...
I installed Python2.6 and Google App Engine (GAE).
I realized that GAE does not run on 2.6, so I installed 2.5 as well.
Now I have a very basic code as follows and it does not show on the localhost:8080
I typed the following in cmd.exe under my dir testapps.
c:\Users\myname\testapps>"\Program Files\Google\google_appengine\dev_appser...
Hi
I wanted to export my local datastore data to my google appengine application datastore. Is there any direct and short way to do it.
...
Google is proposing changing one entry at a time to the default values ....
http://code.google.com/appengine/articles/update_schema.html
I have a model with a million rows and doing this with a web browser will take me ages. Another option is to run this using task queues but this will cost me a lot of cpu time
any easy way to do th...
I have 2 models:
class Parent (db.Model) :
data = db.StringProperty()
class Child1 (db.Model) :
parent = db.ReferenceProperty(Parent)
childData = db.StringProperty()
class Child2 (db.Model) :
parent = db.ReferenceProperty(Parent)
childData2 = db.StringProperty()
class Child3 (db.Model) :
parent = db.ReferenceProperty(Par...
If I should be approaching this problem through a different method, please suggest so. I am creating an item based collaborative filter. I populate the db with the LinkRating2 class and for each link there are more than a 1000 users that I need to call and collect their ratings to perform calculations which I then use to create another...
I am trying to execute simple system command via my servlet on google app engine. I'm not trying anything dangerous, just looking for simple stuff grep, sed, wget, find, etc.
Using java's Runtime class i keep getting access denied exceptions.
Do i have to get permission from google of some kind or are shell commands banned period?
...
I'm using JPA on Google app-engine datastore and some of the 'merge' operations are extremely slow. One of them usually takes more that 16 seconds. What can cause this?
--Update:A major part of the problem was caused by a concurrency issue. Now it's 3-5 seconds. (Just for the last 5 lines of code)
The code is something like this:
Paren...
I'm trying to build a Friendly URL lookup method in GAE and Python. Have anyone done this?
I've got it working but it feels VERY shaky. How it works is that it takes the path (let's say /foo/bar/) and splits it to a list. Takes the last element in the list and query the database for a match. Now comes some headaches.
If there is more ...
I'm using the low-level google datastore api and I want to query by the key property and another property (let's call it category).
I need to query based on a list of keys for which I'll use the IN operator. I know that the max. number of values you can provide for the IN clause is 30.
I have 2 questions:
Does the limit of 30 IN val...
I'm building a pretty basic app, and one thing I want to do is pass an object as a parameter up through the service -> async -> impl instead of passing up a million separate parameters.
so in async, I do something like this:
import shared.Profile;
...
public interface ProfileServiceAsync {
public void addProfile(Profile inProf, Asy...
I have only very basic experience with HTML/CSS and have quite a bit of experience with testing software and web apps from a consumer perspective. I'd love to launch a web application that plays nicely with Google services, similar to some of the apps you'd find on the Google Apps Marketplace, such as ManyMoon, time to note, Socialwok, e...
I'm developing a small pet project on Google App Engine and i would like to keep code under source control using github; this will allow a friend of mine to checkout and modify the sources.
I just have a directory with all sources (call it PetProject) and Google App Engine development server points to that directory.
Is it correct to ...
Hi,
I have a python app engine code (matured backend) - and we are now planning to have a front end for that code.
I was wondering whether it is possible to implement GWT as the front end.
Even though Alex Martelli in this post [1] mentions it is not possible, a comment to that post suggests that it is indeed possible using rpc over...
this_category = Category.objects.get(name=cat_name)
gives error: get() takes exactly 2 non-keyword arguments (1 given)
I am using the appengine helper, so maybe that is causing problems. Category is my model. Category.objects.all() works fine. Filter is also similarily not working.
Thanks,
...