Changeset 4744 for waeup


Ignore:
Timestamp:
8 Jan 2010, 13:48:08 (15 years ago)
Author:
uli
Message:

Fix user container location.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-layout/src/waeup/authentication.txt

    r4617 r4744  
    3030terms) with a password (and optional a title or description):
    3131
    32   >>> root['app'].users.addUser('bob', 'bobsecret',
     32  >>> root['app']['users'].addUser('bob', 'bobsecret',
    3333  ...                           title='Bob', description='A sample user')
    3434
     
    3838  >>> from waeup.authentication import Account
    3939  >>> alice = Account('alice', 'alicesecret')
    40   >>> root['app'].users.addAccount(alice)
     40  >>> root['app']['users'].addAccount(alice)
    4141
    4242See ``users.txt`` for details about the UserContainer we use here.
Note: See TracChangeset for help on using the changeset viewer.