Great work here! ;-) Lovely, and if I'm not wrong/blind no more TG_User/TG_Group...
Ciao Michele Kevin Dangoor wrote: > FYI, I have just committed the change to make the identity model part > of quickstart. If you're using the turbogears.identity.soprovider > classes directly, everything should still work as it has. > > This change has a cool side effect. To get something with authentication: > tg-admin quickstart Foo > (press enter a couple of times) > cd Foo > mate dev.cfg > set database > tg-admin sql create > tg-admin shell > (create a user) > mate foo/controllers.py > @identity.require(identity.not_anonymous()) > ./start-foo.py > $$$ profit $$$ > > I didn't have to monkey with turning things on or configuring anything > else. It was most groovy. > > As an added bonus, quickstart projects now get a json.py file to store > the JSON portion of your view. > > Kevin > > -- > Kevin Dangoor > TurboGears / Zesty News > > email: [EMAIL PROTECTED] > company: http://www.BlazingThings.com > blog: http://www.BlueSkyOnMars.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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/turbogears-trunk -~----------~----~----~----~------~----~------~--~---
