Changes between Version 2 and Version 3 of CookBookShortcutsOpenIDAuthentication
- Timestamp:
- Apr 17, 2006, 10:36:31 AM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CookBookShortcutsOpenIDAuthentication
v2 v3 6 6 #!python 7 7 (r'^openid/$', 'myproject.openid.openid_form'), 8 (r'^openid/process/(?P<token>.* /$', 'myproject.openid.process'),8 (r'^openid/process/(?P<token>.*)/$', 'myproject.openid.process'), 9 9 }}} 10 10 11 The views need to make use of an OpenID consumer, which I initialize when the views.py file is loaded. The below makesof an additional setting that I placed into settings.py, a constant to indicate where the OpenID library should store its state information.11 The views need to make use of an OpenID consumer, which I initialize when the views.py file is loaded. The below also makes use of an additional setting that I placed into settings.py, a constant to indicate where the OpenID library should store its state information. 12 12 13 13 {{{