Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Version 1 and Version 2 of IdentityManagement


Ignore:
Timestamp:
11/06/05 16:13:11 (14 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IdentityManagement

    v1 v2  
    11'''''This was ripped from [http://metrocat.org/nerd/2005/10/identity-management-for-turbogears Jeff Watkins' blog].''''' 
     2 
     3'''''...with a little change to play nice with latest svn [as of 6th Nov 2005]''''' 
    24 
    35I just committed the code for the TurboGears identity management support (revision 89). And because this is such new code, I thought it might be helpful to include a short How To for getting everything up and running. 
     
    911'''Step 2''' Edit idtest.egg-info/sqlobject.txt 
    1012{{{ 
    11 db_module=idtest.model, turbogears.identity.model 
     13db_module=idtest.model,  turbogears.identity.model.somodel 
    1214}}} 
    1315'''Step 3''' Create login.kid 
     
    98100Type "help", "copyright", "credits" or "license" for more information. 
    99101(InteractiveConsole) 
    100 >>> from turbogears.identity.model import * 
     102>>> turbogears.identity.model.somodel import * 
    101103>>> hub.begin() 
    102104>>> u=User( userId="jeff", emailAddress="jeff@metrocat.org",