[google-appengine] Cron Job and Cursors

2010-09-09 Thread Sumer Cip
Hi, I have a very basic problem. Below is my model: class DummyModel: id:Integer info:Integer added:DateTime What I need to do is to have a cron job running per day to filter on added field and do something with the info field, but I have many entities and I want to make this process

[google-appengine] caching frequently accessed pages/templates

2010-02-05 Thread Sumer Cip
Hi, How about this approach: 1) define a generic db.model which has two methods get_dirty_bit() and set_dirty_bit(). Hook the put method of the model. 2) If a put occurs set the dirty bit to true in datatore or memcache if possible. The dirty will be a table which will include a simle