November 7, 2009
I’ve been looking into how to implement a tagging mechanism with Appengine (Python). By using a StringListProperty, you can associate a list of tags with an entity. The model would look something like this:
from google.appengine.ext import db
class Sample(db.Model):
name = db.StringProperty(required=True)
tags = db.StringListProperty()
Now, assuming we want to find the entities tagged with [...]
Read the full article →
October 26, 2009
I’m getting back into appengine at the moment, and I came across this error:
No module named _multiprocessing
A google search turned up this error report:
http://code.google.com/p/googleappengine/issues/detail?id=1504
which lead to this post:
http://code.google.com/p/soc/wiki/GettingStarted
The problem was of-course, that I was using Python 2.6 instead of 2.5.
I love Linux, the solution is trivial:
The workaround for this is to install Python 2.5 [...]
Read the full article →