On Dec 12, 2005, at 10:46 PM, anders pearson wrote:

          http://tasty.python-hosting.com/

the code's still a bit rough in places (there are some really gnarly SQL
queries that it has to build to do things efficiently), but we've been
running it in production apps for a while now.

Great work! Here's one small change to have it work w/ MySQL (the TEXT column can't be an alternate id problem...) :

Index: tasty/model.py
===================================================================
--- tasty/model.py      (revision 40)
+++ tasty/model.py      (working copy)
@@ -6,7 +6,7 @@
__connection__ = hub
class Service(SQLObject):
-    name = UnicodeCol(alternateID=True)
+    name = UnicodeCol(alternateID=True, length=255)
     users = MultipleJoin('User')
     items = MultipleJoin('Item')
     tags  = MultipleJoin('Tag')


Reply via email to