OT: Extending TG_User and/or implementing my own

Stefan Stuhr xfceuserslist at sstuhr.dk
Wed Mar 15 18:21:00 CET 2006


ons, 15 03 2006 kl. 17:25 +0000, skrev Robin Haswell:
> 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?

What does this have to do with Xfce?

> Thanks!
> 
> -Rob 

Stefan




More information about the Xfce mailing list