I highly recommend this tutorial ... 
http://pylonshq.com/project/pylonshq/wiki/PylonsWithAuthKitDatabase

Max Ischenko wrote:
> Hello,
>
> I am trying to setup authkit (0.3pre5) in my Pylons project (0.9.5) 
> but for some reason it doesn't work. When I raise 401/403 errors they 
> are displayed as is instead of being intercepted by authkit. I did 
> inserted the middleware:
>
>     app = authkit.authenticate.middleware(app, config_paste=app_conf)
>
> and I have authkit.enable = true in the ini file (along with other 
> options, if I omit some required option authkit does complain).
>
> What can the problem be?
>
> Btw, which docs I am supposed to use for authkit:
>
> 1. http://authkit.org/docs/pylons.html#getting-started
> 2. 
> http://docs.pythonweb.org/display/authkitcookbook/Getting+Started+With+AuthKit
>
> I used #1 because it is "newer" (the timestamp says 2008-08-30!)
>
> Max.
>
> >

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to