I went over it and it's really nice.
I just found this.
1- you forgot to rename the test class
2- some variable sub in the *.cfg files
3- A warning I think we should add if it's not solve before 0.9a5.
On 4/26/06,
Kevin Dangoor <[EMAIL PROTECTED]> 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
-~----------~----~----~----~------~----~------~--~---
little fixes to Identity move.patch
Description: Binary data
