##// END OF EJS Templates
add repr for UserToPerm
marcink -
r3729:49e5d4fa beta
parent child Browse files
Show More
@@ -1569,6 +1569,9 b' class UserToPerm(Base, BaseModel):'
1569 user = relationship('User')
1569 user = relationship('User')
1570 permission = relationship('Permission', lazy='joined')
1570 permission = relationship('Permission', lazy='joined')
1571
1571
1572 def __unicode__(self):
1573 return u'<%s => %s >' % (self.user, self.permission)
1574
1572
1575
1573 class UserGroupRepoToPerm(Base, BaseModel):
1576 class UserGroupRepoToPerm(Base, BaseModel):
1574 __tablename__ = 'users_group_repo_to_perm'
1577 __tablename__ = 'users_group_repo_to_perm'
General Comments 0
You need to be logged in to leave comments. Login now