I'll apply the patch this evening. I just got finished reading the new documentation on [sqlmeta](http://wiki.sqlobject.org/sqlmeta.html). Even after pouring over the SQLObject docs, I'd never run across this until recently.

Kevin Dangoor wrote:
On 11/16/05, Patrick Lewis <[EMAIL PROTECTED]> wrote:
Yeah, I saw your comment, and I think that I incorporated it.  There
really isn't a new "namespace", that was a bit of a simplification.
What I did was:

1) made the actual database table names less generic by adding
"turbogears_" to them.  I don't know if this was necessary, but it
seems like it is good form to segregate turbogears specific tables away
from the webapp tables.  Also, the ticket specifically mentions it.
2) used the Class sqlmeta.registry property to put the identity classes
in the "turbogears" registry (namespace).  This allows multiple
sqlobject classes to co-exist named "User".

I didn't actually change the class names for the models.  They are
still User, Group, Permission, and SecretToken.

Sounds like a good solution to me.

Kevin


--
Jeff Watkins
http://newburyportion.com/

Reply via email to