2008-09-02から1日間の記事一覧
イデオムレベルのコードだけど、Python初心者のメモです。 from django.utils import simplejson data = simplejson.dumps( [dict(id=entity.id, name=entity.name, description=entity.description) for entity in Entity.objects.filter(revision=0)] , en…
イデオムレベルのコードだけど、Python初心者のメモです。 from django.utils import simplejson data = simplejson.dumps( [dict(id=entity.id, name=entity.name, description=entity.description) for entity in Entity.objects.filter(revision=0)] , en…