Perfect! Worked for me also Somebody with access should update the wiki also. Documentation is important for new users...
mvh Anders Eide +47 41806663 [email protected] iServ Computing Lasta 50 N-4400 Flekkefjord Norway http://www.iserv.no<http://www.iserv.no/> Fra: [email protected] [mailto:[email protected]] På vegne av Bruce Wade Sendt: 5. september 2010 06:36 Til: [email protected] Emne: Re: Pylons 1.0 and repoze.what tutorial Thanks that worked perfect for me, now I have authentication working :D On Sat, Sep 4, 2010 at 4:59 PM, Eric Rasmussen <[email protected]<mailto:[email protected]>> wrote: There's a more thorough tutorial here that worked for me: http://sarafsaurabh.wordpress.com/2010/08/10/pylons-authentication-and-authorization-using-repoze-what/ I only changed the login template at the end because it didn't show the input fields: % if c.login_counter > 1: Incorrect Username or Password % endif <form action="${h.url(controller='account', action='login_handler',came_from=c.came_from, __logins=c.login_counter)}" method="POST"> <label for="login">Username:</label> <input type="text" id="login" name="login" /><br /> <label for="password">Password:</label> <input type="password" id="password" name="password" /><br /> <input type="submit" id="submit" value="Submit" /> </form> On Sat, Sep 4, 2010 at 1:15 PM, Bruce Wade <[email protected]<mailto:[email protected]>> wrote: I also wouldn't mind a tutorial on this, I moved to pylons from django for my next major project. On Sat, Sep 4, 2010 at 11:45 AM, Anders Eide <[email protected]<mailto:[email protected]>> wrote: After multiple failures on this tutorial http://wiki.pylonshq.com/display/pylonscookbook/Authorization+with+repoze.what I'm wondering: Is there a 100% working tutorial on Pylons 1.0 and repoze.what. I'm new to Pylons and Python, so I would like a tutorial that's easy to follow... mvh Anders Eide +47 41806663 [email protected]<mailto:[email protected]> iServ Computing Lasta 50 N-4400 Flekkefjord Norway http://www.iserv.no<http://www.iserv.no/> -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]<mailto:[email protected]>. To unsubscribe from this group, send email to [email protected]<mailto:pylons-discuss%[email protected]>. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en. -- -- Regards, Bruce Wade http://ca.linkedin.com/in/brucelwade http://www.wadecybertech.com http://www.warplydesigned.com http://www.fitnessfriendsfinder.com -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]<mailto:[email protected]>. To unsubscribe from this group, send email to [email protected]<mailto:pylons-discuss%[email protected]>. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]<mailto:[email protected]>. To unsubscribe from this group, send email to [email protected]<mailto:pylons-discuss%[email protected]>. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en. -- -- Regards, Bruce Wade http://ca.linkedin.com/in/brucelwade http://www.wadecybertech.com http://www.warplydesigned.com http://www.fitnessfriendsfinder.com -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]<mailto:[email protected]>. To unsubscribe from this group, send email to [email protected]<mailto:[email protected]>. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. 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.
