blob: 2bda2997f7b09528b949609dc60bb2c982aba3d4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
from sqlobject import *
from turbogears.database import PackageHub
# Uncomment the following line if you wish to use Identity and SO_Provider
from turbogears.identity.soprovider import TG_User, TG_Group, TG_Permission
hub = PackageHub("beweb")
__connection__ = hub
def people_map():
return dict([(u.userId, u.displayName) for u in TG_User.select()])
# class YourDataClass(SQLObject):
# pass
|