Show More
@@ -297,7 +297,7 b' class User(Base, BaseModel):' | |||||
297 | user_id = Column("user_id", Integer(), nullable=False, unique=True, default=None, primary_key=True) |
|
297 | user_id = Column("user_id", Integer(), nullable=False, unique=True, default=None, primary_key=True) | |
298 | username = Column("username", String(length=255, convert_unicode=False, assert_unicode=None), nullable=True, unique=None, default=None) |
|
298 | username = Column("username", String(length=255, convert_unicode=False, assert_unicode=None), nullable=True, unique=None, default=None) | |
299 | password = Column("password", String(length=255, convert_unicode=False, assert_unicode=None), nullable=True, unique=None, default=None) |
|
299 | password = Column("password", String(length=255, convert_unicode=False, assert_unicode=None), nullable=True, unique=None, default=None) | |
300 |
active = Column("active", Boolean(), nullable=True, unique=None, default= |
|
300 | active = Column("active", Boolean(), nullable=True, unique=None, default=True) | |
301 | admin = Column("admin", Boolean(), nullable=True, unique=None, default=False) |
|
301 | admin = Column("admin", Boolean(), nullable=True, unique=None, default=False) | |
302 | name = Column("firstname", String(length=255, convert_unicode=False, assert_unicode=None), nullable=True, unique=None, default=None) |
|
302 | name = Column("firstname", String(length=255, convert_unicode=False, assert_unicode=None), nullable=True, unique=None, default=None) | |
303 | lastname = Column("lastname", String(length=255, convert_unicode=False, assert_unicode=None), nullable=True, unique=None, default=None) |
|
303 | lastname = Column("lastname", String(length=255, convert_unicode=False, assert_unicode=None), nullable=True, unique=None, default=None) |
@@ -305,4 +305,4 b' def UserExtraEmailForm():' | |||||
305 | class _UserExtraEmailForm(formencode.Schema): |
|
305 | class _UserExtraEmailForm(formencode.Schema): | |
306 | email = All(v.UniqSystemEmail(), v.Email) |
|
306 | email = All(v.UniqSystemEmail(), v.Email) | |
307 |
|
307 | |||
308 | return _UserExtraEmailForm No newline at end of file |
|
308 | return _UserExtraEmailForm |
General Comments 0
You need to be logged in to leave comments.
Login now