Changeset 190 for trunk/examples/divan/divan/moderation.py
- Timestamp:
- 08/26/08 15:43:18 (2 years ago)
- Files:
-
- 1 modified
-
trunk/examples/divan/divan/moderation.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/divan/divan/moderation.py
r177 r190 27 27 elif doc['type'] == "Comment": 28 28 post.num_comments += 1 29 post.store(app.db)30 # FIXME: retry in case of conflict?31 32 29 doc['published'] = True 33 app.db [doc_id] = doc30 app.db.update([post._data, doc]) 34 31 35 32 elif 'delete' in request.POST:
