I'm having a few porblems also extending the TG_User class.
I have extended TG_User, TG_Group and TG_Permission as explained above
and all seems to workish.
However when I add the lines to my config.py:
import myproj.model
identity.soprovider.model.user=myproj.model.MyUser
identity.soprovider.model.group=myproj.model.MyGroup
identity.soprovider.model.permission=myproj.model.MyPermission
I get the error:
TurboGears-0.9a0dev_r708-py2.4.egg/turbogears/database.py", line 146,
in set_hub
raise KeyError, "No database configuration found!"
If I remove the above lines from config.py, things appear to work and
through my code I can create MyUser and MyGroup objects and use the
identity framework.
Is this a bug or am I missing some other configuration options
somewhere.
Thanks,
Hootbah.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---