Datastore Query filtering on list
Select all records, ID which is not in the list How to make like : query = Story.all() query.filter('ID **NOT IN** =', [100,200,..,..]) ...
Select all records, ID which is not in the list How to make like : query = Story.all() query.filter('ID **NOT IN** =', [100,200,..,..]) ...
What advantage is there to designing child-parent relationships, which allow us to do writes in transactions, when there is never a real concern for consistency and contention and those sort of more complex issues? Does it make writes and reads faster? Consider my situation where there are many .png images that are referenced to one mos...
I'm developing with GAE on my own machine. It was pretty fast, until I added CSS and images, at which point the page loads much more slowly. I suspect that the browser isn't caching anything, perhaps because GAE isn't setting any far-future expiration headers in the HTTP request. Is there anything I can do to get around this? I tried th...
I know how to create a table in Google Big Table. But with my constraints I want to create database and store all the tables inside that database. ...
Hello Everyone, I am looking for a python module that will help me get rid of HTML tags but keep the text values. I tried BeautifulSoup before and I couldn't figure out how to do this simple task. I tried searching for Python modules that could do this but they all seem to be dependent on other libraries which does not work well on AppE...
I am running wamp on an xp box. I am fairly new to web programming, this is for a student project, and have run out of avenues to try to solve this problem. Problem We have client side JavaScript code that uses GDownloadUrl- from the Google api- to wrap xmlHttpRequest calls to a php server side program that is accessing our database....
I just created an App Engine account, and clicked the Create an Application button to register my application id. After submitting the form, I was also able to upload a hello-world application to my app and it runs fine: http://aebootcamp-mckoss.appspot.com But when I visit my App Engine application console page: http://appengine.goo...
Hi I am developing an application which require integration with twitter. I am using twitter4j api . I have to persist the ouath tokens so that my application can interact with twitter in future. I save the access token and access token secret . However when I am reusing them I am getting an exception token expire . Could you please ...
Where does Google store the logs when you do a Logging statement? Logging statements seem to be pretty fast, so it doesn't seem like they are stored in the datastore. How reliable are the logs? If I do a logging statement and it succeeds, is it pretty much guaranteed that it will show up in the logs? How much past history of logs is s...
I have made an update on Google App Engine with a small fix and I got: Closing update: new version is ready to start serving. However, when I open the website, there is still old version. I have changed version to 2 in app.yaml, before running update. What am I missing? ...
I'm not able to get logs of my GAE application, no matter if I try using GAE admin panel, nor appcfg.py --severity=0 --end_date=2010-03-07 request_logs . logs. It looks like I'm only able to browse latest logs in admin, or filter/download ERROR logs. DEBUG/INFO/WARNING ones from past days are innaccessible (i.e. GAE admin doesn't show ...
How reliable are the Google App Engine logs? Because logs are optimized for write speed, and the datastore is optimized for read speed, I'm thinking about storing some data by writing it to the logs rather than writing it to the datastore. If I call Logger.info("something");, and the call succeeds, will that log entry definitely sho...
I want to store data with every request (what user viewed what page of my site). With each request I will put the data (~100 bytes) in the memcache. Every 5 seconds I will persist that data from the memcache to the datastore. How rare would data loss be in this scenario? ...
I'm looking for info on howto get a google appengine app onto the newly announced google apps marketplace. The page at http://code.google.com/googleapps/marketplace/sso.html does not have a python openid apps-discovery library which seems to be the stumbling block. Has anyone ported an appengine app to the marketplace? or know of the ...
A question that seems to have quite a few options for Python, but none for Java after googling for two days. Really really could use some help all I have found so far is a recommendation to use gaeVFS to build an excel file from the xml components and then zip it all together which sounds like a slap in the face. Oh yes and if you were w...
I have persistent object, with a string property that often is over 500 charachters. Google App Engine says I need to save it as a com.google.appengine.api.datastore.Text. How do I either convert a String type to a com.google.appengine.api.datastore.Text type so I can use a setMethod() on the property, or otherwise get my long sting ...
The product I am working on runs on top of Google App Engine. It contains code similar to this: result = urlfetch.fetch(url, **parms) log('%s' %result.final_url) This always returns None. In the documentation it says it will return the correct URL. But this seems to be a problem. I cannot use the given url since there is a lot...
I am looking for an open source Java CMS (Web CMS, actually) to run on Google App Engine. I have looked at related older questions on this topic (What CMS runs on Google AppEngine?, CMS over Google App Engine, with SEO etc.) but the problem is that they all largely list Python-based CMSes. Plus these questions are pretty old, and since G...
what is bigtable. Is any authentication require to create table in bigtable.where the data will be store. it is possible to view the table. we can view all the tables in bigtable, which was created by others. ...
I am trying to optimize a particular instance of an owned one-to-many relationship where the parent has a list of children where the list of children could be very large. Children may be created, removed, and edited. Editing is actually ok as I can retrieve a child without ever retrieving the parent. For deleting, I could retrieve t...