Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
User definition.

This is the user definition used by :mod:`repoze.who`, which requires at
least the ``user_name`` column.

src/m/d/mdemos.server-1.0.1dev/mdemos/server/websetup/bootstrap.py   mdemos.server(Download)
    from sqlalchemy.exc import IntegrityError
    try:
        u = model.User()
        u.user_name = u'manager'
        u.display_name = u'Example manager'
        model.DBSession.add(p)
 
        u1 = model.User()
        u1.user_name = u'editor'
        u1.display_name = u'Example editor'