Changeset 4744 for waeup/branches/ulif-layout
- Timestamp:
- 8 Jan 2010, 13:48:08 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-layout/src/waeup/authentication.txt
r4617 r4744 30 30 terms) with a password (and optional a title or description): 31 31 32 >>> root['app'] .users.addUser('bob', 'bobsecret',32 >>> root['app']['users'].addUser('bob', 'bobsecret', 33 33 ... title='Bob', description='A sample user') 34 34 … … 38 38 >>> from waeup.authentication import Account 39 39 >>> alice = Account('alice', 'alicesecret') 40 >>> root['app'] .users.addAccount(alice)40 >>> root['app']['users'].addAccount(alice) 41 41 42 42 See ``users.txt`` for details about the UserContainer we use here.
Note: See TracChangeset for help on using the changeset viewer.