Force Account's user column name (SQLObject bug?)
Ignore-this: e344b0463c4572db8c0bc032c3bee2d0 darcs-hash:20090216190524-86b55-5ab4f8393628c368b2f9f271808fea99b2ec2a2b.gz
This commit is contained in:
@@ -1062,7 +1062,6 @@ class JCLCommandManagerAddUserCommand_TestCase(JCLCommandManagerTestCase):
|
||||
other_session_id = self.check_step_1(result, "admin@test.com",
|
||||
is_admin=True)
|
||||
self.assertEquals(other_session_id, session_id)
|
||||
|
||||
def test_execute_add_user_cancel(self):
|
||||
"""
|
||||
Test cancel 'add-user' ad-hoc command .
|
||||
|
||||
@@ -98,7 +98,7 @@ class Account(InheritableSQLObject):
|
||||
legacy_jids = MultipleJoin('LegacyJID')
|
||||
enabled = BoolCol(default=True)
|
||||
lastlogin = DateTimeCol(default=datetime.datetime.today())
|
||||
user = ForeignKey("User")
|
||||
user = ForeignKey("User", dbName="user_table_id")
|
||||
|
||||
## Use these attributs to support volatile password
|
||||
## login = StringCol(default = "")
|
||||
|
||||
Reference in New Issue
Block a user