Extending TG_User and/or implementing my own

Robin Haswell rob at digital-crocus.com
Wed Mar 15 18:25:21 CET 2006

Hey guys

It might be a little too late for my app now, but when I was starting
out I decided to use TG's identities. Naturally the TG_User model wasn't
quite what I wanted so I extended it like so:

class User(TG_User):

"What is he doing?!" I hear you cry. Yes I did end up with two tables,
with one holding a superset of the data in another. Next time though,
what's the best way to go about this? Maybe TG_User.sqlmeta.addField()..
something like that?



More information about the Xfce mailing list